From de3748d930a3f5f2c60b304b89ff8e337f41d354 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 11 Sep 2020 08:38:42 +0300 Subject: build: disable clippy::match_as_ref warning --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 051ef0b..b976afd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,6 +4,10 @@ //! and how they are verified, in a way that's understood by all project //! stakeholders. +// disable clippy warning about using as_ref instead, as we +// target the version of Rust in Debian 10 (buster), which +// doesn't have it. +#![allow(clippy::match_as_ref)] #![deny(missing_docs)] mod error; pub use error::Result; -- cgit v1.2.1