clippy_
utils
1.84.0-nightly
(759e07f06 2024-10-30)
clippy_utils
Function
last_path_segment
Copy item path
Source
pub fn last_path_segment<'tcx>(path: &
QPath
<'tcx>) -> &'tcx
PathSegment
<'tcx>