Skip to content

Commit 5804e4d

Browse files
committed
Fixed typo
1 parent 3a53e99 commit 5804e4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overviews/collections/sets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ If you create new sets from a tree-set (for instance by concatenation or filteri
133133
scala> res2 + ("one", "two", "three", "four")
134134
res3: scala.collection.immutable.TreeSet[String] = TreeSet(four, one, three, two)
135135

136-
Sorted sets also support ranges of elements. For instance, the `range` method returns all elements from a starting element up to, but excluding, and end element. Or, the `from` method returns all elements greater or equal than a starting element in the set's ordering. The result of calls to both methods is again a sorted set. Examples:
136+
Sorted sets also support ranges of elements. For instance, the `range` method returns all elements from a starting element up to, but excluding, an end element. Or, the `from` method returns all elements greater or equal than a starting element in the set's ordering. The result of calls to both methods is again a sorted set. Examples:
137137

138138
scala> res3 range ("one", "two")
139139
res4: scala.collection.immutable.TreeSet[String] = TreeSet(one, three)

0 commit comments

Comments
 (0)