mozilla/rust — pull request #10218 by alexcrichton (2013-11-01 05:10:50+00:00)
Title: Provide a sound method of flushing stdout

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).