libcollections: btree/map: fix typos
This commit is contained in:
parent
2d0baa71b9
commit
b50fb240be
1 changed files with 2 additions and 2 deletions
|
@ -656,7 +656,7 @@ impl<K: Ord, V> BTreeMap<K, V> {
|
|||
}
|
||||
|
||||
/// Constructs a double-ended iterator over a sub-range of elements in the map.
|
||||
/// 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).
|
||||
/// 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
|
||||
|
@ -748,7 +748,7 @@ impl<K: Ord, V> BTreeMap<K, V> {
|
|||
}
|
||||
|
||||
/// Constructs a mutable double-ended iterator over a sub-range of elements in the map.
|
||||
/// 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).
|
||||
/// 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
|
||||
|
|
Loading…
Add table
Reference in a new issue