Skip to content

Commit fb74b48

Browse files
rsulli55flip1995
andcommitted
Remove borrow
Co-authored-by: Philipp Krones <hello@philkrones.com>
1 parent e9612f3 commit fb74b48

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3118,7 +3118,7 @@ fn lint_search_is_some<'tcx>(
31183118
cx,
31193119
SEARCH_IS_SOME,
31203120
method_span.with_hi(expr.span.hi()),
3121-
&msg,
3121+
msg,
31223122
"try this",
31233123
format!("contains({})", find_arg),
31243124
applicability,

0 commit comments

Comments
 (0)