From 0e413bc755b95cac9ec1a370f3773848e72bab86 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 6 Jun 2010 07:47:21 +0000 Subject: Fixed a typo in a use case --- src/library/scala/collection/TraversableOnce.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3