From d7e32b68e5825282dde445d6d66abc53cb69efe3 Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 31 Aug 2020 12:45:33 +1000 Subject: [PATCH] fix: Split a clippy allow, so its comment is clearer --- zebra-network/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zebra-network/src/lib.rs b/zebra-network/src/lib.rs index 9a7fb555d..e99506c81 100644 --- a/zebra-network/src/lib.rs +++ b/zebra-network/src/lib.rs @@ -34,9 +34,10 @@ #![doc(html_logo_url = "https://www.zfnd.org/images/zebra-icon.png")] #![doc(html_root_url = "https://doc.zebra.zfnd.org/zebra_network")] #![deny(missing_docs)] +#![allow(clippy::try_err)] // Tracing causes false positives on this lint: // https://github.com/tokio-rs/tracing/issues/553 -#![allow(clippy::cognitive_complexity, clippy::try_err)] +#![allow(clippy::cognitive_complexity)] #[macro_use] extern crate pin_project;