From aed4e02e38797bbc514f3249ce7dfd38ae392b16 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Fri, 23 Oct 2020 17:21:54 +0100 Subject: [PATCH] Add #![deny(unused_must_use)] to avoid not checking Errs --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 8215418c..790b6182 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -35,6 +35,7 @@ #![deny(dead_code)] #![deny(unused_imports)] #![deny(missing_docs)] +#![deny(unused_must_use)] // Re-exported dependencies. #[macro_use] pub extern crate bitcoin_hashes as hashes;