Skip to content

Commit 2ac4fe1

Browse files
authored
libcollections: btree/set: fix a typo
1 parent 2d0baa7 commit 2ac4fe1

File tree

1 file changed

+1
-1
lines changed
  • src/libcollections/btree

1 file changed

+1
-1
lines changed

src/libcollections/btree/set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ impl<T> BTreeSet<T> {
208208

209209
impl<T: Ord> BTreeSet<T> {
210210
/// Constructs a double-ended iterator over a sub-range of elements in the set.
211-
/// The simplest way is to use the range synax `min..max`, thus `range(min..max)` will
211+
/// The simplest way is to use the range syntax `min..max`, thus `range(min..max)` will
212212
/// yield elements from min (inclusive) to max (exclusive).
213213
/// The range may also be entered as `(Bound<T>, Bound<T>)`, so for example
214214
/// `range((Excluded(4), Included(10)))` will yield a left-exclusive, right-inclusive

0 commit comments

Comments
 (0)