diff options
author | Josh Suereth <joshua.suereth@gmail.com> | 2012-06-18 12:14:44 -0400 |
---|---|---|
committer | Josh Suereth <joshua.suereth@gmail.com> | 2012-06-18 12:14:44 -0400 |
commit | de6519952582a74a3f9769b1dbde26c617a819f1 (patch) | |
tree | 1dcf47150312d5cecbe482aa30ea4ab77270b79a /src/library/scala/collection/GenTraversableOnce.scala | |
parent | f559505c1f254c98ae34bb4cdf1e2b624d25a84c (diff) | |
download | scala-de6519952582a74a3f9769b1dbde26c617a819f1.tar.gz scala-de6519952582a74a3f9769b1dbde26c617a819f1.tar.bz2 scala-de6519952582a74a3f9769b1dbde26c617a819f1.zip |
Fixes from review.
* Fixed typo
* Renamed copyInto to copyTo
* Added tparam doc.
Diffstat (limited to 'src/library/scala/collection/GenTraversableOnce.scala')
-rw-r--r-- | src/library/scala/collection/GenTraversableOnce.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/collection/GenTraversableOnce.scala b/src/library/scala/collection/GenTraversableOnce.scala index d22fb0f3ad..2996071d71 100644 --- a/src/library/scala/collection/GenTraversableOnce.scala +++ b/src/library/scala/collection/GenTraversableOnce.scala @@ -562,13 +562,13 @@ trait GenTraversableOnce[+A] extends Any { def toVector: Vector[A] /** Converts this $coll into another by copying all elemnents. - * $willNotTerminateInf + * @tparam Col The collection type to build. * @return a new collection containing all elements of this $coll. * - * @usecase def copyInto[Col[_]]: Col[A] + * @usecase def copyTo[Col[_]]: Col[A] * @inheritdoc * $willNotTerminateInf - * @return a new collection containing all elemnts of this $coll. + * @return a new collection containing all elements of this $coll. */ - def copyInto[Col[_]](implicit cbf: CanBuildFrom[Nothing, A, Col[A @uV]]): Col[A @uV] + def copyTo[Col[_]](implicit cbf: CanBuildFrom[Nothing, A, Col[A @uV]]): Col[A @uV] } |