diff options
| author | Alex Burka <aburka@seas.upenn.edu> | 2016-02-27 02:03:02 -0500 |
|---|---|---|
| committer | Alex Burka <aburka@seas.upenn.edu> | 2016-02-27 02:03:02 -0500 |
| commit | 54cb2d958681e0e643859fd324c5729fc9de6520 (patch) | |
| tree | 6b3790555efab337845db2007f259f02177bd7ba /src/libcore/str/mod.rs | |
| parent | 15303650e84e50f0731b2a3fe24d291d82c7bf2f (diff) | |
| download | rust-54cb2d958681e0e643859fd324c5729fc9de6520.tar.gz rust-54cb2d958681e0e643859fd324c5729fc9de6520.zip | |
update snapshot comments
Diffstat (limited to 'src/libcore/str/mod.rs')
| -rw-r--r-- | src/libcore/str/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 1c77ea84537..d69ffebc073 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -1488,7 +1488,7 @@ mod traits { #[inline] fn index(&self, index: ops::RangeToInclusive<usize>) -> &str { - // SNAP 3391630 change this to `0...index.end` + // SNAP 4d3eebf change this to `0...index.end` self.index(ops::RangeInclusive::NonEmpty { start: 0, end: index.end }) } } @@ -1514,7 +1514,7 @@ mod traits { impl ops::IndexMut<ops::RangeToInclusive<usize>> for str { #[inline] fn index_mut(&mut self, index: ops::RangeToInclusive<usize>) -> &mut str { - // SNAP 3391630 change this to `0...index.end` + // SNAP 4d3eebf change this to `0...index.end` self.index_mut(ops::RangeInclusive::NonEmpty { start: 0, end: index.end }) } } |
