register snapshots
This commit is contained in:
parent
eaf4c5c784
commit
134cf707df
21 changed files with 12 additions and 195 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue