about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcore/slice.rs4
-rw-r--r--src/libcore/str/mod.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/slice.rs b/src/libcore/slice.rs
index 2293e93eea7..3a285b7cffd 100644
--- a/src/libcore/slice.rs
+++ b/src/libcore/slice.rs
@@ -603,7 +603,7 @@ impl<T> ops::Index<ops::RangeToInclusive<usize>> for [T] {
 
     #[inline]
     fn index(&self, index: ops::RangeToInclusive<usize>) -> &[T] {
-        // 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 })
     }
 }
@@ -665,7 +665,7 @@ impl<T> ops::IndexMut<ops::RangeInclusive<usize>> for [T] {
 impl<T> ops::IndexMut<ops::RangeToInclusive<usize>> for [T] {
     #[inline]
     fn index_mut(&mut self, index: ops::RangeToInclusive<usize>) -> &mut [T] {
-        // 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 })
     }
 }
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 })
         }
     }