Skip to content

Commit

Permalink
Change Applicability to MaybeIncorrect
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Krones <[email protected]>
  • Loading branch information
dvermd and flip1995 committed Oct 26, 2020
1 parent ffddb66 commit 8337c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/ref_option_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl<'tcx> LateLintPass<'tcx> for RefOptionRef {
"since & implements Copy trait, &Option<&T> can be simplifyied into Option<&T>",
"try",
format!("Option<{}>", &snippet(cx, inner_ty.span, "..")),
Applicability::Unspecified,
Applicability::MaybeIncorrect,
);
}
}
Expand Down

0 comments on commit 8337c46

Please sign in to comment.