auto merge of #8984 : chris-morgan/rust/auto-stream-impl, r=huonw
This is consistent with the existing documentation but was not the actual behaviour, which I've found to be rather a nuisance, actually.
This commit is contained in:
commit
d84a7b5ae3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user