Skip to main content

format_elapsed

Function format_elapsed 

Source
pub fn format_elapsed(d: Duration) -> String
Expand description

Render d for a heartbeat line using the tool’s canonical compact duration spelling (45s, 2m15s, 1h5m) — the same HumanDuration format config values round-trip through, so a duration reads identically everywhere anodizer prints one.