diff options
author | James Iry <jamesiry@gmail.com> | 2013-11-18 07:59:35 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-11-18 07:59:35 -0800 |
commit | 490b82b78e040259ffeb6ef2fe9690f92117922f (patch) | |
tree | 2658edff1ea8be7629bbcc35d636bf66f055c7a2 /src | |
parent | 6e7aaf3602a86bd6786bbfebcd729e96b26e5864 (diff) | |
parent | 5b7e0d26db2847d1d3e78bce0108d9fc77f37c1c (diff) | |
download | scala-490b82b78e040259ffeb6ef2fe9690f92117922f.tar.gz scala-490b82b78e040259ffeb6ef2fe9690f92117922f.tar.bz2 scala-490b82b78e040259ffeb6ef2fe9690f92117922f.zip |
Merge pull request #3144 from xuwei-k/foreachValues-scaladoc
fix IntMap#foreachValue and LongMap#foreachValue scaladoc
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/immutable/IntMap.scala | 2 | ||||
-rw-r--r-- | src/library/scala/collection/immutable/LongMap.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/immutable/IntMap.scala b/src/library/scala/collection/immutable/IntMap.scala index 07e2ddaae2..8991d0b75a 100644 --- a/src/library/scala/collection/immutable/IntMap.scala +++ b/src/library/scala/collection/immutable/IntMap.scala @@ -213,7 +213,7 @@ sealed abstract class IntMap[+T] extends AbstractMap[Int, T] } /** - * Loop over the keys of the map. The same as `keys.foreach(f)`, but may + * Loop over the values of the map. The same as `values.foreach(f)`, but may * be more efficient. * * @param f The loop body diff --git a/src/library/scala/collection/immutable/LongMap.scala b/src/library/scala/collection/immutable/LongMap.scala index 506546c5ba..868c0c0f47 100644 --- a/src/library/scala/collection/immutable/LongMap.scala +++ b/src/library/scala/collection/immutable/LongMap.scala @@ -205,7 +205,7 @@ extends AbstractMap[Long, T] } /** - * Loop over the keys of the map. The same as keys.foreach(f), but may + * Loop over the values of the map. The same as values.foreach(f), but may * be more efficient. * * @param f The loop body |