Function dur::pretty

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

Constructs a new Duration. Equivalent to Duration::from