(value: &str)
| 837 | } |
| 838 | |
| 839 | fn yaml_scalar(value: &str) -> String { |
| 840 | let escaped = value |
| 841 | .replace('\\', "\\\\") |
| 842 | .replace('"', "\\\"") |
| 843 | .replace('\n', "\\n") |
| 844 | .replace('\r', "\\r") |
| 845 | .replace('\t', "\\t"); |
| 846 | format!("\"{escaped}\"") |
| 847 | } |
| 848 | |
| 849 | impl App { |
| 850 | #[allow(clippy::large_types_passed_by_value)] // Theme is Copy; one-shot ctor |
no outgoing calls
no test coverage detected