1
Fork 0

register snapshots

This commit is contained in:
Jorge Aparicio 2015-01-31 09:16:56 -05:00
parent eaf4c5c784
commit 134cf707df
21 changed files with 12 additions and 195 deletions

View file

@ -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;