Ignore wrong_self_convention clippy lint

warning: methods called `as_*` usually take self by reference or self by mutable reference; consider choosing a less ambiguous name
       --> src/cxx_vector.rs:130:25
        |
    130 |     pub fn as_mut_slice(self: Pin<&mut Self>) -> &mut [T]
        |                         ^^^^
        |
        = note: `#[warn(clippy::wrong_self_convention)]` on by default
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
This commit is contained in:
David Tolnay 2020-12-31 15:30:55 -08:00
parent 89fd09b66b
commit f4d978941e
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -385,7 +385,8 @@
clippy::or_fun_call,
clippy::ptr_arg,
clippy::toplevel_ref_arg,
clippy::useless_let_if_seq
clippy::useless_let_if_seq,
clippy::wrong_self_convention
)]
#[cfg(built_with_cargo)]