Skip to content

Commit 0e7e37f

Browse files
committed
Suppress 'consider choosing a more descriptive name' clippy lint in tests
warning: consider choosing a more descriptive name --> tests/ffi/lib.rs:247:30 | 247 | fn r_return_identity(_: usize) -> usize; | ^ | = note: `#[warn(clippy::just_underscores_and_digits)]` on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits warning: consider choosing a more descriptive name --> tests/ffi/lib.rs:248:25 | 248 | fn r_return_sum(_: usize, _: usize) -> usize; | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits warning: consider choosing a more descriptive name --> tests/ffi/lib.rs:248:35 | 248 | fn r_return_sum(_: usize, _: usize) -> usize; | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits
1 parent 2621946 commit 0e7e37f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ffi/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![allow(
22
clippy::boxed_local,
3+
clippy::just_underscores_and_digits,
34
clippy::ptr_arg,
45
clippy::trivially_copy_pass_by_ref
56
)]

0 commit comments

Comments
 (0)