Closed
Description
I know that the new IO is being worked on, but I could see this being a sneaky thing that gets lost.
#![feature(io)]
use std::io::Write;
fn main() {
write!(&mut std::io::stdout(), "Hello world").unwrap();
}
This code prints nothing. If we use stderr
instead, there is output.
rustc 1.0.0-nightly (270a677d4 2015-03-07) (built 2015-03-07)
Metadata
Metadata
Assignees
Labels
No labels