Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore needless_pass_by_ref_mut clippy lint in test suite
warning: this argument is a mutable reference, but not used mutably --> tests/ffi/lib.rs:524:34 | 524 | fn r_return_mut_rust_vec(shared: &mut ffi::Shared) -> &mut Vec<u8> { | ^^^^^^^^^^^^^^^^ help: consider changing to: `&ffi::Shared` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut = note: `-W clippy::needless-pass-by-ref-mut` implied by `-W clippy::all` warning: this argument is a mutable reference, but not used mutably --> tests/test.rs:222:24 | 222 | fn callback_mut(s: &mut String) { | ^^^^^^^^^^^ help: consider changing to: `&String` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut = note: `-W clippy::needless-pass-by-ref-mut` implied by `-W clippy::all`
- Loading branch information