Skip to main content
last_path_segment
clippy_
utils
1.98.0-nightly
(e7815e522 2026-06-04)
clippy_utils
Function
last_
path_
segment
Copy item path
Source
pub fn last_path_segment<'tcx>(path: &
QPath
<'tcx>) -> &'tcx
PathSegment
<'tcx>