We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d48e4d commit 5e00f8dCopy full SHA for 5e00f8d
clippy_lints/src/unnecessary_wrap.rs
@@ -122,7 +122,7 @@ impl<'tcx> LateLintPass<'tcx> for UnnecessaryWrap {
122
fn_decl.output.span(),
123
format!("remove `{}` from the return type...", return_type).as_str(),
124
inner_ty,
125
- Applicability::MachineApplicable,
+ Applicability::MaybeIncorrect,
126
);
127
});
128
diag.multipart_suggestion(
0 commit comments