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:
Alex Crawford 2020-12-27 14:28:31 -08:00
parent 79e81bf97f
commit a73c90ad08
1 changed files with 1 additions and 0 deletions

View File

@ -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;