mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 23:37:32 +00:00
Merge pull request #2925 from epage/clippy
chore: Silence bad clippy lint
This commit is contained in:
commit
201353c8c6
1 changed files with 1 additions and 0 deletions
|
@ -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`");
|
||||
|
|
Loading…
Add table
Reference in a new issue