summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-09-11 08:38:42 +0300
committerLars Wirzenius <liw@liw.fi>2020-09-11 10:09:10 +0300
commitde3748d930a3f5f2c60b304b89ff8e337f41d354 (patch)
tree723849180a68b735a1bc01c66fe68030846027fa
parent9d2aead2817ef2a7b96819a9d9574c75b9a3948c (diff)
downloadsubplot-de3748d930a3f5f2c60b304b89ff8e337f41d354.tar.gz
build: disable clippy::match_as_ref warning
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
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;