]> git.lizzy.rs Git - rust.git/commit
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)
commit999d55d5f6e229b8c1118ac35c8cbf3b9c59e3a1
tree943f63f1204c1164442d0ce320a214e9f4088269
parent11ca7ec8cd897d8a036e32641b6b38d48f86d600
parent2cb83fdd7ea4e76d4b1c830a97480521cc405625
auto merge of #12630 : alexcrichton/rust/flush-buffered, r=brson

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.