diff options
-rw-r--r-- | src/library/scala/collection/mutable/ArrayStack.scala | 2 |
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 3292c148b7..cf7e401fd2 100644 --- a/src/library/scala/collection/mutable/ArrayStack.scala +++ b/src/library/scala/collection/mutable/ArrayStack.scala @@ -150,7 +150,7 @@ class ArrayStack[T] private(private var table : Array[AnyRef], override def isEmpty = index == 0; /** - * Iterates over the stack in fifo order. + * Iterates over the stack in LIFO order. */ def iterator: Iterator[T] = new Iterator[T]{ var currentIndex = index; |