summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/TraversableLike.scala
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2010-07-28 11:26:15 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2010-07-28 11:26:15 +0000
commitbc0ed202b6006ee8e3ccdf71b800ed99246437a8 (patch)
treef4e6c596ff796bef07f7f3dd6e2174f609cb2e9a /src/library/scala/collection/TraversableLike.scala
parent9d3eef33c58ff9135ea0f104cd11dd5d4af6c54e (diff)
downloadscala-bc0ed202b6006ee8e3ccdf71b800ed99246437a8.tar.gz
scala-bc0ed202b6006ee8e3ccdf71b800ed99246437a8.tar.bz2
scala-bc0ed202b6006ee8e3ccdf71b800ed99246437a8.zip
[docs] Documentation updates contributed throug...
[docs] Documentation updates contributed through Colladoc. No review.
Diffstat (limited to 'src/library/scala/collection/TraversableLike.scala')
-rw-r--r--src/library/scala/collection/TraversableLike.scala7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/library/scala/collection/TraversableLike.scala b/src/library/scala/collection/TraversableLike.scala
index 6f851fb5e7..a307ccbf3f 100644
--- a/src/library/scala/collection/TraversableLike.scala
+++ b/src/library/scala/collection/TraversableLike.scala
@@ -494,10 +494,9 @@ trait TraversableLike[+A, +Repr] extends HasNewBuilder[A, Repr]
}
/** Selects the last element.
- * $orderDependent
- * @return the first element of this $coll.
- * @throws `NoSuchElementException` if the $coll is empty.
- */
+ * $orderDependent
+ * @return The last element of this $coll.
+ * @throws NoSuchElementException If the $coll is empty. */
def last: A = {
var lst = head
for (x <- this)