clippy_
utils
1.86.0-nightly
(99768c80a 2025-01-23)
clippy_utils
Function
last_path_segment
Copy item path
Source
pub fn last_path_segment<'tcx>(path: &
QPath
<'tcx>) -> &'tcx
PathSegment
<'tcx>