]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #12630 : alexcrichton/rust/flush-buffered, r=brson
authorbors <bors@rust-lang.org>
Sat, 1 Mar 2014 19:41:30 +0000 (11:41 -0800)
committerbors <bors@rust-lang.org>
Sat, 1 Mar 2014 19:41:30 +0000 (11:41 -0800)
Now that we can call `flush()` in destructors, I think that it's appropriate for stdout/stderr to return buffered writers by default.

This doesn't enable certain functionality like a buffered stdin does, but it's what you want 90% of the time for performance reasons.


Trivial merge