Skip to content

Commit e9af62a

Browse files
committed
Downgrade applicability to MaybeIncorrect
1 parent b868883 commit e9af62a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/unnecessary_wrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl<'tcx> LateLintPass<'tcx> for UnnecessaryWrap {
122122
fn_decl.output.span(),
123123
format!("remove `{}` from the return type...", return_type).as_str(),
124124
inner_ty,
125-
Applicability::MachineApplicable,
125+
Applicability::MaybeIncorrect,
126126
);
127127
});
128128
diag.multipart_suggestion(

0 commit comments

Comments
 (0)