We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d0baa7 commit 2ac4fe1Copy full SHA for 2ac4fe1
src/libcollections/btree/set.rs
@@ -208,7 +208,7 @@ impl<T> BTreeSet<T> {
208
209
impl<T: Ord> BTreeSet<T> {
210
/// 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
+ /// The simplest way is to use the range syntax `min..max`, thus `range(min..max)` will
212
/// yield elements from min (inclusive) to max (exclusive).
213
/// The range may also be entered as `(Bound<T>, Bound<T>)`, so for example
214
/// `range((Excluded(4), Included(10)))` will yield a left-exclusive, right-inclusive
0 commit comments