(input: &'a str, key: &str)
| 2144 | } |
| 2145 | |
| 2146 | fn parse_named_value<'a>(input: &'a str, key: &str) -> Option<&'a str> { |
| 2147 | let (_, value) = input.split_once(key)?; |
| 2148 | Some(value.split([',', '}', ']']).next().unwrap_or(value).trim()) |
| 2149 | } |
| 2150 | |
| 2151 | fn parse_android_display_rotation(output: &str) -> Option<u16> { |
| 2152 | output |
no outgoing calls
no test coverage detected