Skip to main content

human_progress

Function human_progress 

Source
pub fn human_progress(done: u64, total: u64) -> String
Expand description

12.4 / 41.6 MB, both in the total’s unit so they compare at a glance; an unknown (zero) total shows only what arrived.