(value: &'a str, fallback: &'a str)
| 7816 | } |
| 7817 | |
| 7818 | fn non_empty_or<'a>(value: &'a str, fallback: &'a str) -> &'a str { |
| 7819 | if value.is_empty() { fallback } else { value } |
| 7820 | } |
| 7821 | |
| 7822 | /// Format a millisecond timestamp into a readable string. |
| 7823 | fn format_timestamp_ms(ms: i64) -> String { |
no test coverage detected