Function dur::pretty

source ยท
pub fn pretty(d: StdDuration) -> Duration
Expand description

Constructs a new Duration. Equivalent to Duration::from