Silence warning about matches macro
These were flagged by `cargo clippy`: warning: match expression looks like `matches!` macro The matches! macro isn't stabilized until Rust 1.42.
This commit is contained in:
parent
79e81bf97f
commit
a73c90ad08
|
@ -90,6 +90,7 @@ compile_error!("at least one socket needs to be enabled"); */
|
|||
// FIXME(dlrobertson): clippy fails with this lint
|
||||
#![allow(clippy::if_same_then_else)]
|
||||
#![allow(clippy::manual_non_exhaustive)]
|
||||
#![allow(clippy::match_like_matches_macro)]
|
||||
|
||||
#[cfg(feature = "alloc")]
|
||||
extern crate alloc;
|
||||
|
|
Loading…
Reference in New Issue