Skip to content

Commit d55583f

Browse files
Fix typo: Stack not Stacks (#178)
1 parent 1822498 commit d55583f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/stdlib/Iterables.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ object Iterables extends AnyFlatSpec with Matchers with org.scalaexercises.defin
3535
*
3636
* Quite a few subclasses of `Iterable` override this standard implementation of `foreach` in `Iterable`, because they can provide a more efficient implementation. Remember that `foreach` is the basis of the implementation of all operations in `Traversable`, so its performance matters.
3737
*
38-
* Some common iterables are `Set`, `List`, `Vector`, `Stacks` and `Stream`. Iterator has two important methods: `hasNext`, which answers whether the iterator has another element available, and `next` which returns the next element in the iterator.
38+
* Some common iterables are `Set`, `List`, `Vector`, `Stack` and `Stream`. Iterator has two important methods: `hasNext`, which answers whether the iterator has another element available, and `next` which returns the next element in the iterator.
3939
*
4040
*/
4141
def collectionIterablesIterables(res0: Int) = {

0 commit comments

Comments
 (0)