(text: &str, value: bool)
| 1444 | } |
| 1445 | |
| 1446 | fn format_bool(text: &str, value: bool) -> Result<String, FormatSpecError> { |
| 1447 | FormatSpec::parse(text).and_then(|spec| spec.format_bool(value)) |
| 1448 | } |
| 1449 | |
| 1450 | #[test] |
| 1451 | fn test_format_bool() { |
nothing calls this directly
no test coverage detected