(raw: &str)
| 980 | } |
| 981 | |
| 982 | fn parse_flags(raw: &str) -> Vec<String> { |
| 983 | raw.split_whitespace() |
| 984 | .map(|flag| flag.trim().trim_matches(',')) |
| 985 | .filter(|flag| !flag.is_empty()) |
| 986 | .map(ToString::to_string) |
| 987 | .collect() |
| 988 | } |
| 989 | |
| 990 | pub fn normalize_sender_rule(rule: &str) -> String { |
| 991 | rule.trim().to_ascii_lowercase() |
no outgoing calls
no test coverage detected