Skip to content

Commit e7d0dea

Browse files
committed
unnecessary_mut_passed
1 parent f191b80 commit e7d0dea

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ non_canonical_partial_ord_impl = "allow"
181181
self_named_constructors = "allow"
182182
too_many_arguments = "allow"
183183
type_complexity = "allow"
184-
unnecessary_mut_passed = "allow"
185184
useless_conversion = "allow"
186185
useless_format = "allow"
187186
wildcard_in_or_patterns = "allow"

crates/hir-ty/src/mir/lower/pattern_matching.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl MirLowerCtx<'_> {
114114
index: i as u32,
115115
}))
116116
}),
117-
&mut cond_place,
117+
&cond_place,
118118
mode,
119119
)?
120120
}

0 commit comments

Comments
 (0)