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