Remove borrow

Co-authored-by: Philipp Krones <hello@philkrones.com>
This commit is contained in:
rsulli55 2020-10-25 18:11:57 -07:00 committed by Ryan Sullivant
parent e9612f3eca
commit fb74b4802e

View file

@ -3118,7 +3118,7 @@ fn lint_search_is_some<'tcx>(
cx,
SEARCH_IS_SOME,
method_span.with_hi(expr.span.hi()),
&msg,
msg,
"try this",
format!("contains({})", find_arg),
applicability,