about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-31 22:09:48 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-31 22:09:48 -0700
commit8f258ab532eebce705b5eb27cc8635400992ca54 (patch)
treed7f5f7ff4dae3c01f40fb337f103946cc7cc28af /src/libsyntax/parse/parser.rs
parentd04a58cf2d224f6e0ae69334f90a9013ae2ba35a (diff)
downloadrust-8f258ab532eebce705b5eb27cc8635400992ca54.tar.gz
rust-8f258ab532eebce705b5eb27cc8635400992ca54.zip
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).
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions