Skip to main content
last_path_segment
clippy_
utils
1.99.0-nightly
(1a98b1e13 2026-08-07)
clippy_utils
Function
last_
path_
segment
Copy item path
Source
pub fn last_path_segment<'tcx>(path: &
QPath
<'tcx>) -> &'tcx
PathSegment
<'tcx>