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 6212950 commit 230d9cbCopy full SHA for 230d9cb
clippy_lints/src/ref_option_ref.rs
@@ -55,7 +55,7 @@ impl<'tcx> LateLintPass<'tcx> for RefOptionRef {
55
cx,
56
REF_OPTION_REF,
57
ty.span,
58
- "since & implements Copy trait, &Option<&T> can be simplifyied into Option<&T>",
+ "since `&` implements the `Copy` trait, `&Option<&T>` can be simplified to `Option<&T>`",
59
"try",
60
format!("Option<{}>", &snippet(cx, inner_ty.span, "..")),
61
Applicability::MaybeIncorrect,
0 commit comments