io: Add lint return_self_must_use
Add the lint. No additional clippy warnings are introduced.
This commit is contained in:
parent
8eda92ee7b
commit
199516b599
|
@ -14,6 +14,8 @@
|
|||
// Coding conventions.
|
||||
#![warn(missing_docs)]
|
||||
#![doc(test(attr(warn(unused))))]
|
||||
// Pedantic lints that we enforce.
|
||||
#![warn(clippy::return_self_not_must_use)]
|
||||
// Exclude lints we don't think are valuable.
|
||||
#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
|
||||
#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
|
||||
|
|
Loading…
Reference in New Issue