Skip to content

Commit 13b2d66

Browse files
committed
Ignore clippy needless_return lint in test suite
error: unneeded `return` statement --> tests/test.rs:1270:9 | 1270 | return &Thing; | ^^^^^^^^^^^^^^ help: remove `return`: `&Thing` | = note: `-D clippy::needless-return` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
1 parent 651ddc1 commit 13b2d66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
clippy::let_underscore_drop,
77
clippy::let_unit_value,
88
clippy::missing_panics_doc,
9+
clippy::needless_return,
910
clippy::trivially_copy_pass_by_ref
1011
)]
1112

0 commit comments

Comments
 (0)