Skip to main content

print_status

Function print_status 

Source
pub fn print_status(msg: &str)
Expand description

Print a status message before starting work.

In a terminal, prints “msg…” without a newline so the user sees real-time progress. In non-terminal output, does nothing – the full line is printed by print_elapsed after the work completes.