Remove borrow
Co-authored-by: Philipp Krones <hello@philkrones.com>
This commit is contained in:
parent
e9612f3eca
commit
fb74b4802e
@ -3118,7 +3118,7 @@ fn lint_search_is_some<'tcx>(
|
|||||||
cx,
|
cx,
|
||||||
SEARCH_IS_SOME,
|
SEARCH_IS_SOME,
|
||||||
method_span.with_hi(expr.span.hi()),
|
method_span.with_hi(expr.span.hi()),
|
||||||
&msg,
|
msg,
|
||||||
"try this",
|
"try this",
|
||||||
format!("contains({})", find_arg),
|
format!("contains({})", find_arg),
|
||||||
applicability,
|
applicability,
|
||||||
|
Loading…
Reference in New Issue
Block a user