Skip to main content

format_duration

Function format_duration 

Source
pub(crate) fn format_duration(duration: Duration) -> String
Expand description

A duration in whole seconds, with the minutes apart, like 10m, 1m 30s or 45s, for the errors.