Lines Matching refs:started
259 fn item_plural(f: &mut fmt::Formatter, started: &mut bool,
264 if *started {
271 *started = true;
275 fn item(f: &mut fmt::Formatter, started: &mut bool, name: &str, value: u32)
279 if *started {
283 *started = true;
319 let ref mut started = false;
320 item_plural(f, started, "year", years)?;
321 item_plural(f, started, "month", months)?;
322 item_plural(f, started, "day", days)?;
323 item(f, started, "h", hours as u32)?;
324 item(f, started, "m", minutes as u32)?;
325 item(f, started, "s", seconds as u32)?;
326 item(f, started, "ms", millis)?;
327 item(f, started, "us", micros)?;
328 item(f, started, "ns", nanosec)?;