diff options
-rw-r--r-- | src/library/scala/collection/immutable/List.scala | 6 | ||||
-rw-r--r-- | src/library/scala/collection/mutable/IndexedSeqLike.scala | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/collection/immutable/List.scala b/src/library/scala/collection/immutable/List.scala index 4ce441ca55..f9937f6925 100644 --- a/src/library/scala/collection/immutable/List.scala +++ b/src/library/scala/collection/immutable/List.scala @@ -19,9 +19,9 @@ import annotation.tailrec /** A class for immutable linked lists representing ordered collections * of elements of type. * - * This class comes with two implementing case classes `scala.Nil` - * and `scala.::` that implement the abstract members `isEmpty`, - * `head` and `tail`. + * This class comes with two implementing case classes `scala.Nil` + * and `scala.::` that implement the abstract members `isEmpty`, + * `head` and `tail`. * * @author Martin Odersky and others * @version 2.8 diff --git a/src/library/scala/collection/mutable/IndexedSeqLike.scala b/src/library/scala/collection/mutable/IndexedSeqLike.scala index 0c2d3f17bb..5e932effe0 100644 --- a/src/library/scala/collection/mutable/IndexedSeqLike.scala +++ b/src/library/scala/collection/mutable/IndexedSeqLike.scala @@ -45,7 +45,7 @@ trait IndexedSeqLike[A, +Repr] extends scala.collection.IndexedSeqLike[A, Repr] /** Replaces element at given index with a new value. * * @param n the index of the element to replace. - * @param lem the new value. + * @param elem the new value. * @throws IndexOutofBoundsException if the index is not valid. */ def update(idx: Int, elem: A) |