(info: &'a Value, keys: &[&str])
| 144 | } |
| 145 | |
| 146 | fn info_string<'a>(info: &'a Value, keys: &[&str]) -> Option<&'a str> { |
| 147 | keys.iter() |
| 148 | .find_map(|key| info.get(*key).and_then(Value::as_str)) |
| 149 | } |
| 150 | |
| 151 | fn text_reports_wsl2(value: &str) -> bool { |
| 152 | let value = value.to_ascii_lowercase(); |
no test coverage detected