Merge pull request #2925 from epage/clippy

chore: Silence bad clippy lint
This commit is contained in:
Ed Page 2021-10-23 10:21:28 -05:00 committed by GitHub
commit 201353c8c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@
#![forbid(unsafe_code)]
// TODO: https://github.com/rust-lang/rust-clippy/issues/7290
#![allow(clippy::single_component_path_imports)]
#![allow(clippy::branches_sharing_code)]
#[cfg(not(feature = "std"))]
compile_error!("`std` feature is currently required to build `clap`");