diff --git a/io/src/lib.rs b/io/src/lib.rs index b867be191..9770f6ce8 100644 --- a/io/src/lib.rs +++ b/io/src/lib.rs @@ -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.