summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/ArrayStack.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/collection/mutable/ArrayStack.scala')
-rw-r--r--src/library/scala/collection/mutable/ArrayStack.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/ArrayStack.scala b/src/library/scala/collection/mutable/ArrayStack.scala
index 13f709ba39..2323830b7b 100644
--- a/src/library/scala/collection/mutable/ArrayStack.scala
+++ b/src/library/scala/collection/mutable/ArrayStack.scala
@@ -122,7 +122,7 @@ extends Seq[T]
}
/** View the top element of the stack. */
- @deprecated("use top instead")
+ @deprecated("use top instead", "2.8.0")
def peek = top
/** View the top element of the stack.