Skip to content

Commit 8d678bc

Browse files
committed
Auto merge of rust-lang#6418 - flip1995:apple_wraps_mhm, r=llogiq
Turn unnecessary_wraps applicability to MaybeIncorrect Fixes: rust-lang#6417 changelog: Turn [`unnecessary_wraps`] applicability to `MaybeIncorrect`
2 parents 4340229 + 01f3211 commit 8d678bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/unnecessary_wraps.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ impl<'tcx> LateLintPass<'tcx> for UnnecessaryWraps {
135135
diag.multipart_suggestion(
136136
"...and change the returning expressions",
137137
suggs,
138-
Applicability::MachineApplicable,
138+
Applicability::MaybeIncorrect,
139139
);
140140
},
141141
);

0 commit comments

Comments
 (0)