(text: &str)
| 264 | } |
| 265 | |
| 266 | fn looks_like_search_command(text: &str) -> bool { |
| 267 | text.starts_with("rg ") || text.contains(" rg ") |
| 268 | } |
| 269 | |
| 270 | fn increment_family_usage(families: &mut BTreeMap<String, FamilyCounts>, family: &str) { |
| 271 | families.entry(family.to_string()).or_default().usage_events += 1; |
no test coverage detected