From f107bd530562877a37e23425aa8c5f662ee73185 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Tue, 9 Mar 2021 23:04:50 +0000 Subject: chore: fix clippy warnings --- dhall/src/lib.rs | 1 + dhall_proc_macros/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/dhall/src/lib.rs b/dhall/src/lib.rs index 68d1066..86ef99e 100644 --- a/dhall/src/lib.rs +++ b/dhall/src/lib.rs @@ -6,6 +6,7 @@ clippy::new_ret_no_self, clippy::new_without_default, clippy::try_err, + clippy::unnecessary_wraps, clippy::useless_format )] diff --git a/dhall_proc_macros/src/lib.rs b/dhall_proc_macros/src/lib.rs index 9f20e2d..91595cd 100644 --- a/dhall_proc_macros/src/lib.rs +++ b/dhall_proc_macros/src/lib.rs @@ -1,4 +1,5 @@ #![doc(html_root_url = "https://docs.rs/dhall_proc_macros/0.5.0")] +#![allow(clippy::unnecessary_wraps)] //! This crate contains the code-generation primitives for the [dhall-rust][dhall-rust] crate. //! This is highly unstable and breaks regularly; use at your own risk. //! -- cgit v1.2.3