last_path_segment
clippy_
utils
1.91.0-nightly
(9c27f27ea 2025-09-08)
clippy_utils
Function
last_
path_
segment
Copy item path
Source
pub fn last_path_segment<'tcx>(path: &
QPath
<'tcx>) -> &'tcx
PathSegment
<'tcx>