mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 00:07:42 +03:00
8f258ab532
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).