(output: &mut String, indent: usize, key: &str, value: &str)
| 539 | } |
| 540 | |
| 541 | fn write_key_value(output: &mut String, indent: usize, key: &str, value: &str) { |
| 542 | writeln!(output, "{}{key}: {value}", spaces(indent)).unwrap(); |
| 543 | } |
| 544 | |
| 545 | fn spaces(count: usize) -> String { |
| 546 | " ".repeat(count) |
no test coverage detected