Skip to content

Commit 009f765

Browse files
authored
Merge pull request #1735 from arunkmv/master
Fix map method description
2 parents fa4073a + e9be42d commit 009f765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala-book/collections-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ keys: Iterable[Int] = Set(1, 2, 3, 4)
4646
scala> val values = m.values
4747
val values: Iterable[String] = MapLike.DefaultValuesIterable(a, b, c, d)
4848

49-
// how to test if a Map contains a value
49+
// how to test if a Map contains a key
5050
scala> val contains3 = m.contains(3)
5151
contains3: Boolean = true
5252

0 commit comments

Comments
 (0)