clippy_utils
1.81.0-nightly
(9c3bc805d 2024-06-27)
Function
clippy_utils
::
last_path_segment
Copy item path
source
ยท
[
−
]
pub fn last_path_segment<'tcx>(path: &
QPath
<'tcx>) -> &'tcx
PathSegment
<'tcx>