summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2020-09-11 07:12:11 +0000
committerDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2020-09-11 07:12:11 +0000
commit9d634b507cb4f1bb5b8f2f3103153dddd2920ba1 (patch)
tree723849180a68b735a1bc01c66fe68030846027fa
parent9d2aead2817ef2a7b96819a9d9574c75b9a3948c (diff)
parentde3748d930a3f5f2c60b304b89ff8e337f41d354 (diff)
downloadsubplot-9d634b507cb4f1bb5b8f2f3103153dddd2920ba1.tar.gz
Merge branch 'clippy' into 'main'
build: disable clippy::match_as_ref warning See merge request larswirzenius/subplot!65
-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;