Skip to content

Commit

Permalink
remove redundant final
Browse files Browse the repository at this point in the history
  • Loading branch information
daddykotex committed Dec 19, 2023
1 parent 279c25e commit 4384beb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/proto/src/smithyproto/Text.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import scala.annotation.tailrec
*/
sealed trait Text
object Text {
final case class Line(string: String) extends Text
final case class Many(texts: List[Text]) extends Text
final case class Indent(text: Text) extends Text
final case object NewLine extends Text
case class Line(string: String) extends Text
case class Many(texts: List[Text]) extends Text
case class Indent(text: Text) extends Text
case object NewLine extends Text

def line(string: String): Text.Line = Text.Line(string)

Expand Down

0 comments on commit 4384beb

Please sign in to comment.