mirror of
https://github.com/topjohnwu/cxx.git
synced 2025-02-17 14:47:43 +00:00
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:
parent
89fd09b66b
commit
f4d978941e
@ -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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user