about summary refs log tree commit diff
path: root/src/libcore/str
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2015-01-31 09:16:56 -0500
committerJorge Aparicio <japaricious@gmail.com>2015-02-02 13:38:32 -0500
commit134cf707dfb8f37d735d20ff261366b7c2d916a6 (patch)
treeaf32e703eb9a1f1564a803bde5c97e372184017f /src/libcore/str
parenteaf4c5c784637f3df8bdebc6ec21dbd4bc69420a (diff)
downloadrust-134cf707dfb8f37d735d20ff261366b7c2d916a6.tar.gz
rust-134cf707dfb8f37d735d20ff261366b7c2d916a6.zip
register snapshots
Diffstat (limited to 'src/libcore/str')
-rw-r--r--src/libcore/str/mod.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index cb7af3b3d35..026f708b305 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -1266,16 +1266,6 @@ mod traits {
         }
     }
 
-    #[cfg(stage0)]
-    #[stable(feature = "rust1", since = "1.0.0")]
-    impl ops::Index<ops::FullRange> for str {
-        type Output = str;
-        #[inline]
-        fn index(&self, _index: &ops::FullRange) -> &str {
-            self
-        }
-    }
-    #[cfg(not(stage0))]
     #[stable(feature = "rust1", since = "1.0.0")]
     impl ops::Index<ops::RangeFull> for str {
         type Output = str;