about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Burka <aburka@seas.upenn.edu>2016-02-27 02:03:02 -0500
committerAlex Burka <aburka@seas.upenn.edu>2016-02-27 02:03:02 -0500
commit54cb2d958681e0e643859fd324c5729fc9de6520 (patch)
tree6b3790555efab337845db2007f259f02177bd7ba
parent15303650e84e50f0731b2a3fe24d291d82c7bf2f (diff)
downloadrust-54cb2d958681e0e643859fd324c5729fc9de6520.tar.gz
rust-54cb2d958681e0e643859fd324c5729fc9de6520.zip
update snapshot comments
-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 })
         }
     }