fix: Split a clippy allow, so its comment is clearer

This commit is contained in:
teor 2020-08-31 12:45:33 +10:00 committed by Deirdre Connolly
parent a6d6e65940
commit d7e32b68e5
1 changed files with 2 additions and 1 deletions

View File

@ -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;