Ignore match_like_matches_macro clippy lint

This lint tells us to use the std::matches! macro instead of a match or
if let expression that yields a bool.  But the matches! macro was added
in Rust 1.42, and our MSRV is 1.40.  I don’t want to bump the MSRV only
for this change, so we ignore the lint.
This commit is contained in:
Robin Krahl 2020-10-09 11:06:21 +02:00
parent 65c3fd7639
commit 07996d9dd6
No known key found for this signature in database
GPG Key ID: 8E9B0870524F69D8

View File

@ -32,6 +32,9 @@
//! We dont support the old index format. As the format of the HTML files is not specified,
//! rusty-man might not work with new Rust versions that change the documentation format.
// The matches! macro was added in Rust 1.42, but our MSRV is 1.40.
#![allow(clippy::match_like_matches_macro)]
mod args;
mod doc;
mod index;