Register snapshots
This commit is contained in:
parent
3a481c0f88
commit
66319b0278
74 changed files with 23 additions and 9843 deletions
|
@ -349,14 +349,6 @@ impl<'self> Equiv<@~str> for StringRef<'self> {
|
|||
fn equiv(&self, other: &@~str) -> bool { str::eq_slice(**self, **other) }
|
||||
}
|
||||
|
||||
#[cfg(stage0)]
|
||||
impl<'self> to_bytes::IterBytes for StringRef<'self> {
|
||||
#[inline(always)]
|
||||
fn iter_bytes(&self, lsb0: bool, f: to_bytes::Cb) {
|
||||
(**self).iter_bytes(lsb0, f);
|
||||
}
|
||||
}
|
||||
#[cfg(not(stage0))]
|
||||
impl<'self> to_bytes::IterBytes for StringRef<'self> {
|
||||
#[inline(always)]
|
||||
fn iter_bytes(&self, lsb0: bool, f: to_bytes::Cb) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue