summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/BufferLike.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-09 17:22:58 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-09 17:22:58 +0000
commit0d80fa2d50c287837f45fb26e8ab3b69e278a9bb (patch)
treedf8de586600c3493252b318e08a16674d4240d7c /src/library/scala/collection/mutable/BufferLike.scala
parent2b59cbaafa54f8752e9a00858f8d3bd1474ba59b (diff)
downloadscala-0d80fa2d50c287837f45fb26e8ab3b69e278a9bb.tar.gz
scala-0d80fa2d50c287837f45fb26e8ab3b69e278a9bb.tar.bz2
scala-0d80fa2d50c287837f45fb26e8ab3b69e278a9bb.zip
Work on mutable collections docs.
Diffstat (limited to 'src/library/scala/collection/mutable/BufferLike.scala')
-rw-r--r--src/library/scala/collection/mutable/BufferLike.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/collection/mutable/BufferLike.scala b/src/library/scala/collection/mutable/BufferLike.scala
index 0fb34cc8e0..15e96b2019 100644
--- a/src/library/scala/collection/mutable/BufferLike.scala
+++ b/src/library/scala/collection/mutable/BufferLike.scala
@@ -144,8 +144,8 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]]
*/
def append(elems: A*) { appendAll(elems) }
- /** Appends the elements contained in a traversable collection to this buffer.
- * @param elems the collection containing the elements to append.
+ /** Appends the elements contained in a traversable object to this buffer.
+ * @param xs the traversable object containing the elements to append.
*/
def appendAll(xs: TraversableOnce[A]) { this ++= xs }
@@ -154,7 +154,7 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]]
*/
def prepend(elems: A*) { prependAll(elems) }
- /** Prepends the elements contained in a traversable collection to this buffer.
+ /** Prepends the elements contained in a traversable object to this buffer.
* @param elems the collection containing the elements to prepend.
*/
def prependAll(xs: TraversableOnce[A]) { xs ++=: this }
@@ -272,7 +272,7 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]]
/** Adds a number of elements provided by a traversable object and returns
* either the collection itself.
*
- * @param iter the iterable object.
+ * @param xs the traversable object.
*/
@migration(2, 8,
"As of 2.8, ++ always creates a new collection, even on Buffers.\n"+