summaryrefslogtreecommitdiff
path: root/src/library/scala/collection
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-26 20:34:57 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-26 20:34:57 +0000
commitbc17cc6c0363a15fa28ea8c487e66bfb324569af (patch)
tree7dbe7fab479b9f9a029aa52b34b99079ee16425c /src/library/scala/collection
parente73312494c7af11677809a882d59b76a2ba3726f (diff)
downloadscala-bc17cc6c0363a15fa28ea8c487e66bfb324569af.tar.gz
scala-bc17cc6c0363a15fa28ea8c487e66bfb324569af.tar.bz2
scala-bc17cc6c0363a15fa28ea8c487e66bfb324569af.zip
Typo patrol. no review
Diffstat (limited to 'src/library/scala/collection')
-rw-r--r--src/library/scala/collection/immutable/List.scala6
-rw-r--r--src/library/scala/collection/mutable/IndexedSeqLike.scala2
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)