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:
parent
65c3fd7639
commit
07996d9dd6
@ -32,6 +32,9 @@
|
||||
//! We don’t 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;
|
||||
|
Loading…
Reference in New Issue
Block a user