clippy_
utils
1.87.0-nightly
(b48576b4d 2025-03-22)
clippy_utils
Function
last_path_segment
Copy item path
Source
pub fn last_path_segment<'tcx>(path: &
QPath
<'tcx>) -> &'tcx
PathSegment
<'tcx>