Function std::io::stdout

pub fn stdout() -> @Writer

Gives a Writer which allows you to write to the standard output.

Example

let stdout = std::io::stdout();
stdout.write_str("hello\n");