Home
last modified time | relevance | path

Searched refs:count_matching (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/url/src/
Dparser.rs267 fn count_matching<F: Fn(char) -> bool>(&self, f: F) -> (u32, Self) { in count_matching() method
445 let (slashes_count, remaining) = input.count_matching(|c| matches!(c, '/' | '\\')); in parse_with_scheme()
760 let (slashes_count, remaining) = input.count_matching(|c| matches!(c, '/' | '\\')); in parse_relative()