]> git.lizzy.rs Git - rust.git/commit
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)
commiteae692e375cec222803efb7175c79fedc228eea9
treec881bba599dfafc7abf56ad76aa442593454da6e
parent6cd748611346dec3181f81ca3aa551cce0529343
parentdb477eef72924c7b34e9617627eaae37c71bdc1c
Auto merge of #25009 - alexcrichton:less-buffered-stream, r=aturon

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]
src/libstd/io/buffered.rs