]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #10218 : alexcrichton/rust/stdio-flush-safe, r=cmr
authorbors <bors@rust-lang.org>
Fri, 1 Nov 2013 15:26:24 +0000 (08:26 -0700)
committerbors <bors@rust-lang.org>
Fri, 1 Nov 2013 15:26:24 +0000 (08:26 -0700)
The previous method was unsound because you could very easily create two mutable
pointers which alias the same location (not sound behavior). This hides the
function which does so and then exports an explicit flush() function (with
documentation about how it works).


Trivial merge