Function clippy::utils::match_path_ast
[−]
[src]
pub fn match_path_ast(path: &Path, segments: &[&str]) -> bool
match a Path against a slice of segment string literals, e.g.
match_path(path, &["std", "rt", "begin_unwind"])