Mark unused spaces to satisfy clippy

This causes CI failures, so let's fix this.
This commit is contained in:
Ben Wiederhake
2024-03-29 14:05:32 +01:00
committed by Daniel Hofstetter
parent 03b8dc1dd7
commit e3f0b529fa
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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;
+4 -4
View File
@@ -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)]