Register snapshots.

Closes #16880.
This commit is contained in:
Huon Wilson 2014-09-07 20:42:14 +10:00
parent c964cb229b
commit 524e1b20af
2 changed files with 8 additions and 16 deletions

View File

@ -945,12 +945,6 @@ fn by_ref<'a>(&'a mut self) -> RefReader<'a, Self> {
}
}
#[cfg(stage0)]
impl Reader for Box<Reader+'static> {
fn read(&mut self, buf: &mut [u8]) -> IoResult<uint> { self.read(buf) }
}
#[cfg(not(stage0))]
impl<'a> Reader for Box<Reader+'a> {
fn read(&mut self, buf: &mut [u8]) -> IoResult<uint> { self.read(buf) }
}
@ -1285,16 +1279,6 @@ fn by_ref<'a>(&'a mut self) -> RefWriter<'a, Self> {
}
}
#[cfg(stage0)]
impl Writer for Box<Writer+'static> {
#[inline]
fn write(&mut self, buf: &[u8]) -> IoResult<()> { self.write(buf) }
#[inline]
fn flush(&mut self) -> IoResult<()> { self.flush() }
}
#[cfg(not(stage0))]
impl<'a> Writer for Box<Writer+'a> {
#[inline]
fn write(&mut self, buf: &[u8]) -> IoResult<()> { self.write(buf) }

View File

@ -1,3 +1,11 @@
S 2014-09-05 67b97ab
freebsd-x86_64 5ed208394cb2a378ddfaa005b6298d2f142ad47f
linux-i386 d90866947bfa09738cf8540d17a8eedc70988fcc
linux-x86_64 52955b8f7a3b1bf664345060f421101979ced9f2
macos-i386 2a38d39afa94ad6d274464ee4e82b1b98c2b3a11
macos-x86_64 51df6e27c7d0776f83023e30a976525934ddb93f
winnt-i386 3b0bc6d5c1435f22a3782ae25acd19bc27b2cff4
S 2014-08-29 6025926
freebsd-x86_64 285330b798eefcc929fc94c9d0604b6172ce3309
linux-i386 5b57ab2dc32952dc78551a955f3c1746b2d915a3