Skip to content

Commit 7f3989c

Browse files
committed
Remove elidable lifetime
1 parent 29a88ac commit 7f3989c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/casts/raw_slice_pointer_cast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ enum RawPartsKind {
1515
Mutable,
1616
}
1717

18-
fn raw_parts_kind<'tcx>(cx: &LateContext<'tcx>, did: DefId) -> Option<RawPartsKind> {
18+
fn raw_parts_kind(cx: &LateContext<'_>, did: DefId) -> Option<RawPartsKind> {
1919
if match_def_path(cx, did, &paths::SLICE_FROM_RAW_PARTS) {
2020
Some(RawPartsKind::Immutable)
2121
} else if match_def_path(cx, did, &paths::SLICE_FROM_RAW_PARTS_MUT) {

0 commit comments

Comments
 (0)