last_path_segment
clippy_
utils
1.92.0-beta.3
(f3f12444a 2025-11-09)
clippy_utils
Function
last_
path_
segment
Copy item path
Source
pub fn last_path_segment<'tcx>(path: &
QPath
<'tcx>) -> &'tcx
PathSegment
<'tcx>