Function clippy_lints::utils::single_segment_path [] [src]

pub fn single_segment_path(path: &QPath) -> Option<&PathSegment>