Skip to content

Commit

Permalink
auto merge of #17063 : huonw/rust/snap, r=alexcrichton
Browse files Browse the repository at this point in the history
Closes #16880.
  • Loading branch information
bors committed Sep 8, 2014
2 parents a39f69f + 524e1b2 commit ab7b1c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -945,12 +945,6 @@ pub trait Reader {
}
}

#[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) }
}
Expand Down Expand Up @@ -1285,16 +1279,6 @@ pub trait Writer {
}
}

#[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) }
Expand Down
8 changes: 8 additions & 0 deletions src/snapshots.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ab7b1c8

Please sign in to comment.