use std::io::{self, BufWriter, Write}; fn main() { let stdout = io::stdout(); let mut stdout = BufWriter::new(stdout.lock()); stdout.write(b"Hello World!").unwrap(); }