Function clippy_lints::utils::match_path [] [src]

pub fn match_path(path: &Path, segments: &[&str]) -> bool