Function clippy_utils::single_segment_path
source · [−]pub fn single_segment_path<'tcx>(
path: &QPath<'tcx>
) -> Option<&'tcx PathSegment<'tcx>>pub fn single_segment_path<'tcx>(
path: &QPath<'tcx>
) -> Option<&'tcx PathSegment<'tcx>>