summaryrefslogtreecommitdiff
path: root/src/library/scala/CountedIterator.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/CountedIterator.scala')
-rw-r--r--src/library/scala/CountedIterator.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/CountedIterator.scala b/src/library/scala/CountedIterator.scala
index 490743d733..2b627437dc 100644
--- a/src/library/scala/CountedIterator.scala
+++ b/src/library/scala/CountedIterator.scala
@@ -12,9 +12,9 @@
package scala
/** Counted iterators keep track of the number of elements seen so far
- * @deprecated use iterator.zipWithIndex instead
*/
-@deprecated trait CountedIterator[+A] extends Iterator[A] {
+@deprecated("use iterator.zipWithIndex instead")
+trait CountedIterator[+A] extends Iterator[A] {
/** counts the elements in this iterator; counts start at 0
*/
def count: Int