Skip to content

Commit 483b9cc

Browse files
committed
Auto merge of #4302 - matthiaskrgr:rustup_13, r=Manishearth
rustup rust-lang/rust#62964 changelog: none
2 parents f8e04ff + f195550 commit 483b9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/needless_pass_by_value.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for NeedlessPassByValue {
193193

194194
if_chain! {
195195
if !is_self(arg);
196-
if !ty.is_mutable_pointer();
196+
if !ty.is_mutable_ptr();
197197
if !is_copy(cx, ty);
198198
if !whitelisted_traits.iter().any(|&t| implements_trait(cx, ty, t, &[]));
199199
if !implements_borrow_trait;

0 commit comments

Comments
 (0)