Silence warning about non-exhaustive pattern
These were flagged by `cargo clippy`: warning: this seems like a manual implementation of the non-exhaustive pattern The non_exhaustive attribute isn't available until we increase the minimum Rust version to 1.40, so we should just silence these warnings in the meantime.v0.7.x
parent
752e81489e
commit
1a1861721b
|
@ -88,7 +88,8 @@
|
|||
compile_error!("at least one socket needs to be enabled"); */
|
||||
|
||||
// FIXME(dlrobertson): clippy fails with this lint
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(if_same_then_else))]
|
||||
#![allow(clippy::if_same_then_else)]
|
||||
#![allow(clippy::manual_non_exhaustive)]
|
||||
|
||||
#[cfg(feature = "alloc")]
|
||||
extern crate alloc;
|
||||
|
|
Loading…
Reference in New Issue