summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2010-06-06 07:47:21 +0000
committerMartin Odersky <odersky@gmail.com>2010-06-06 07:47:21 +0000
commit0e413bc755b95cac9ec1a370f3773848e72bab86 (patch)
treed221e5efd2daab4665a97c4a5c3575d7808f339e /src
parenteebb8695e22cd50f510a132d21c8b47386f86a4c (diff)
downloadscala-0e413bc755b95cac9ec1a370f3773848e72bab86.tar.gz
scala-0e413bc755b95cac9ec1a370f3773848e72bab86.tar.bz2
scala-0e413bc755b95cac9ec1a370f3773848e72bab86.zip
Fixed a typo in a use case
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/collection/TraversableOnce.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/TraversableOnce.scala b/src/library/scala/collection/TraversableOnce.scala
index 5d09b6d2c6..6bedf025d4 100644
--- a/src/library/scala/collection/TraversableOnce.scala
+++ b/src/library/scala/collection/TraversableOnce.scala
@@ -277,7 +277,7 @@ trait TraversableOnce[+A] {
* @tparam B the result type of the `+` operator.
* @return the sum of all elements of this $coll with respect to the `+` operator in `num`.
*
- * @usecase def sum: Int
+ * @usecase def sum: A
*
* @return the sum of all elements in this $coll of numbers of type `Int`.
* Instead of `Int`, any other type `T` with an implicit `Numeric[T]` implementation