Skip to content

Commit

Permalink
auto merge of #8984 : chris-morgan/rust/auto-stream-impl, r=huonw
Browse files Browse the repository at this point in the history
This is consistent with the existing documentation but was not the
actual behaviour, which I've found to be rather a nuisance, actually.
  • Loading branch information
bors committed Sep 5, 2013
2 parents 510c4d8 + da042ce commit d84a7b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstd/rt/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ pub trait Writer {

pub trait Stream: Reader + Writer { }

impl<T: Reader + Writer> Stream for T;

pub enum SeekStyle {
/// Seek from the beginning of the stream
SeekSet,
Expand Down

0 comments on commit d84a7b5

Please sign in to comment.