Skip to main content

format_stability

Function format_stability 

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

Format a stability duration as Xh Ym, Xm Ys, or Xs. Used by the renderer; not part of NetworkView because it depends on wall-clock state the snapshot tests can’t pin.