mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Rollup merge of #39106 - istankovic:patch-2, r=GuillaumeGomez
libcollections: btree/set: fix a typo
This commit is contained in:
commit
04e74cefee
@ -208,7 +208,7 @@ impl<T> BTreeSet<T> {
|
|||||||
|
|
||||||
impl<T: Ord> BTreeSet<T> {
|
impl<T: Ord> BTreeSet<T> {
|
||||||
/// Constructs a double-ended iterator over a sub-range of elements in the set.
|
/// Constructs a double-ended iterator over a sub-range of elements in the set.
|
||||||
/// 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
|
||||||
/// yield elements from min (inclusive) to max (exclusive).
|
/// yield elements from min (inclusive) to max (exclusive).
|
||||||
/// The range may also be entered as `(Bound<T>, Bound<T>)`, so for example
|
/// The range may also be entered as `(Bound<T>, Bound<T>)`, so for example
|
||||||
/// `range((Excluded(4), Included(10)))` will yield a left-exclusive, right-inclusive
|
/// `range((Excluded(4), Included(10)))` will yield a left-exclusive, right-inclusive
|
||||||
|
Loading…
Reference in New Issue
Block a user