Skip to content

Commit 8337c46

Browse files
dvermdflip1995
andcommitted
Change Applicability to MaybeIncorrect
Co-authored-by: Philipp Krones <hello@philkrones.com>
1 parent ffddb66 commit 8337c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/ref_option_ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl<'tcx> LateLintPass<'tcx> for RefOptionRef {
5858
"since & implements Copy trait, &Option<&T> can be simplifyied into Option<&T>",
5959
"try",
6060
format!("Option<{}>", &snippet(cx, inner_ty.span, "..")),
61-
Applicability::Unspecified,
61+
Applicability::MaybeIncorrect,
6262
);
6363
}
6464
}

0 commit comments

Comments
 (0)