Skip to main content

print_elapsed

Function print_elapsed 

Source
pub fn print_elapsed(msg: &str, elapsed: Duration)
Expand description

Print the completion of a timed operation.

In a terminal, appends “ done (Xs)“ to the line started by print_status. In non-terminal output, prints the full “msg… done (Xs)” as a single line.