diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-01-16 22:48:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-16 22:48:25 +0100 |
| commit | a9300ccdffa94c68422d7e54b1698e45213f94c3 (patch) | |
| tree | 5e6fa34733b3d2e6d906f1e44b1fccb5704bfd36 | |
| parent | 630b9e10c4177ccfadbacbb22332940cc5918e85 (diff) | |
| parent | b50fb240be6c988d888667019f6308c3ef91615f (diff) | |
| download | rust-a9300ccdffa94c68422d7e54b1698e45213f94c3.tar.gz rust-a9300ccdffa94c68422d7e54b1698e45213f94c3.zip | |
Rollup merge of #39105 - istankovic:patch-1, r=sfackler
libcollections: btree/map: fix typos
| -rw-r--r-- | src/libcollections/btree/map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/btree/map.rs b/src/libcollections/btree/map.rs index 782a5e31d2d..4755f8a4c55 100644 --- a/src/libcollections/btree/map.rs +++ b/src/libcollections/btree/map.rs @@ -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 |
