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 2d4b476 commit 8fdbeafCopy full SHA for 8fdbeaf
clippy_lints/src/ref_option_ref.rs
@@ -58,7 +58,7 @@ impl<'tcx> LateLintPass<'tcx> for RefOptionRef {
58
"since & implements Copy trait, &Option<&T> can be simplifyied into Option<&T>",
59
"try",
60
format!("Option<{}>", &snippet(cx, inner_ty.span, "..")),
61
- Applicability::Unspecified,
+ Applicability::MaybeIncorrect,
62
);
63
}
64
0 commit comments