mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
clippy: identity_op
This commit is contained in:
parent
8578f56568
commit
1deff7a44a
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ use std::ops::BitOr;
|
|||
|
||||
bitflags! {
|
||||
struct Flags: u64 {
|
||||
const SC_NEGATE_REQS = 1 << 0;
|
||||
const SC_NEGATE_REQS = 1;
|
||||
const SC_REQUIRED = 1 << 1;
|
||||
const A_REQUIRED_ELSE_HELP = 1 << 2;
|
||||
const GLOBAL_VERSION = 1 << 3;
|
||||
|
|
|
@ -4,7 +4,7 @@ use std::str::FromStr;
|
|||
|
||||
bitflags! {
|
||||
struct Flags: u16 {
|
||||
const REQUIRED = 1 << 0;
|
||||
const REQUIRED = 1;
|
||||
const MULTIPLE = 1 << 1;
|
||||
const EMPTY_VALS = 1 << 2;
|
||||
const GLOBAL = 1 << 3;
|
||||
|
|
Loading…
Reference in a new issue