hashes: Add lint return_self_must_use
Add the lint. No additional clippy warnings are introduced.
This commit is contained in:
parent
8eda92ee7b
commit
b9b8ddafde
|
@ -58,6 +58,8 @@
|
|||
#![warn(missing_docs)]
|
||||
#![warn(deprecated_in_future)]
|
||||
#![doc(test(attr(warn(unused))))]
|
||||
// Pedantic lints that we enforce.
|
||||
#![warn(clippy::return_self_not_must_use)]
|
||||
// Instead of littering the codebase for non-fuzzing and bench code just globally allow.
|
||||
#![cfg_attr(hashes_fuzz, allow(dead_code, unused_imports))]
|
||||
#![cfg_attr(bench, allow(dead_code, unused_imports))]
|
||||
|
|
Loading…
Reference in New Issue