Skip to content

Commit e66ea81

Browse files
committed
Rename method following review comment
1 parent f763b4d commit e66ea81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run/lst/Lst.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class Lst[+T](val elems: Any) extends AnyVal { self =>
347347
Lst(x, elem)
348348
}
349349

350-
def +: [U >: T](x: U): Lst[U] = elems match {
350+
def :+ [U >: T](x: U): Lst[U] = elems match {
351351
case null => Lst(x)
352352
case elems: Arr =>
353353
val newElems = new Arr(elems.length + 1)

0 commit comments

Comments
 (0)