Skip to main content

flush_stdout

Function flush_stdout 

Source
pub fn flush_stdout()
Expand description

Write everything shown so far. Called wherever stdout’s order against something else becomes observable: before stderr, before input is read, before a program’s own Rust writes to stdout, and when a program fails.