]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #25009 - alexcrichton:less-buffered-stream, r=aturon
authorbors <bors@rust-lang.org>
Tue, 5 May 2015 18:18:27 +0000 (18:18 +0000)
committerbors <bors@rust-lang.org>
Tue, 5 May 2015 18:18:27 +0000 (18:18 +0000)
As pointed out in #17136 the semantics of a `BufStream` aren't always what one
expects, and it looks like other [languages like C#][c-sharp] implement a
buffered stream with only one underlying buffer. For now this commit
destabilizes the primitive in the `std::io` module to give us some more time in
figuring out what to do with it.

[c-sharp]: https://msdn.microsoft.com/en-us/library/system.io.bufferedstream%28v=vs.110%29.aspx

[breaking-change]

1  2 
src/libstd/io/buffered.rs

Simple merge