(output: &mut String, indent: usize, timestamp_ms: i64, utc: Option<&str>)
| 518 | } |
| 519 | |
| 520 | fn write_timestamp(output: &mut String, indent: usize, timestamp_ms: i64, utc: Option<&str>) { |
| 521 | writeln!( |
| 522 | output, |
| 523 | "{}time: {} (timestamp_ms={timestamp_ms})", |
| 524 | spaces(indent), |
| 525 | utc.unwrap_or("unrepresentable") |
| 526 | ) |
| 527 | .unwrap(); |
| 528 | } |
| 529 | |
| 530 | fn write_string_list(output: &mut String, indent: usize, label: &str, values: &[String]) { |
| 531 | writeln!(output, "{}{}:", spaces(indent), label).unwrap(); |
no test coverage detected