fn sync_speed_pretty(slots_per_second: Option<f64>) -> String {
    if let Some(slots_per_second) = slots_per_second {
        format!("{:.2} slots/sec", slots_per_second)
    } else {
        "--".into()
    }
}
/// Returns a nicely formatted string describing the rate of slot imports per second.
Returns a nicely formatted string describing the rate of slot imports per second.
Returns a nicely formatted string describing the rate of slot imports per second .
fn sync_speed_pretty(slots_per_second: Option<f64>) -> String {
    if let Some(slots_per_second) = slots_per_second {
        format!("{:.2} slots/sec", slots_per_second)
    } else {
        "--".into()
    }
}
fn sync_speed_pretty ( slots_per_second : Option < f64 > ) -> String { if let Some ( slots_per_second ) = slots_per_second { format ! ( " " slots_per_second ) } else { " " . into ( ) } }
Returns a nicely formatted string describing the rate of slot imports per second.
Returns a nicely formatted string describing the rate of slot imports per second .
slots_per_second
Option<f64>