You've already forked uutils-args
mirror of
https://github.com/uutils/uutils-args.git
synced 2026-06-10 16:13:08 -07:00
Mark unused spaces to satisfy clippy
This causes CI failures, so let's fix this.
This commit is contained in:
committed by
Daniel Hofstetter
parent
03b8dc1dd7
commit
e3f0b529fa
@@ -22,12 +22,12 @@ enum Arg {
|
||||
// Completion is derived from the `Number` type, through the `Value` trait
|
||||
/// Give it a number!
|
||||
#[arg("-n N", "--number=N")]
|
||||
Number(Number),
|
||||
Number(#[allow(unused)] Number),
|
||||
|
||||
// Completion is derived from the `PathBuf` type
|
||||
/// Give it a path!
|
||||
#[arg("-p P", "--path=P")]
|
||||
Path(PathBuf),
|
||||
Path(#[allow(unused)] PathBuf),
|
||||
}
|
||||
|
||||
struct Settings;
|
||||
|
||||
@@ -32,7 +32,7 @@ enum Arg {
|
||||
Bs(usize),
|
||||
|
||||
#[arg("cbs=BYTES")]
|
||||
Cbs(usize),
|
||||
Cbs(#[allow(unused)] usize),
|
||||
|
||||
#[arg("skip=BYTES", "iseek=BYTES")]
|
||||
Skip(u64),
|
||||
@@ -47,13 +47,13 @@ enum Arg {
|
||||
Status(StatusLevel),
|
||||
|
||||
#[arg("conv=CONVERSIONS")]
|
||||
Conv(String),
|
||||
Conv(#[allow(unused)] String),
|
||||
|
||||
#[arg("iflag=FLAGS")]
|
||||
Iflag(String),
|
||||
Iflag(#[allow(unused)] String),
|
||||
|
||||
#[arg("oflag=FLAGS")]
|
||||
Oflag(String),
|
||||
Oflag(#[allow(unused)] String),
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
|
||||
Reference in New Issue
Block a user