Skip to main content

elapsed

Function elapsed 

Source
pub fn elapsed(took: Duration) -> String
Expand description

A duration in the coarsest unit that still says something: whole milliseconds under a second, then seconds to one decimal place.