File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ enum Arg {
2222 // Completion is derived from the `Number` type, through the `Value` trait
2323 /// Give it a number!
2424 #[ arg( "-n N" , "--number=N" ) ]
25- Number ( Number ) ,
25+ Number ( # [ allow ( unused ) ] Number ) ,
2626
2727 // Completion is derived from the `PathBuf` type
2828 /// Give it a path!
2929 #[ arg( "-p P" , "--path=P" ) ]
30- Path ( PathBuf ) ,
30+ Path ( # [ allow ( unused ) ] PathBuf ) ,
3131}
3232
3333struct Settings ;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ enum Arg {
3232 Bs ( usize ) ,
3333
3434 #[ arg( "cbs=BYTES" ) ]
35- Cbs ( usize ) ,
35+ Cbs ( # [ allow ( unused ) ] usize ) ,
3636
3737 #[ arg( "skip=BYTES" , "iseek=BYTES" ) ]
3838 Skip ( u64 ) ,
@@ -47,13 +47,13 @@ enum Arg {
4747 Status ( StatusLevel ) ,
4848
4949 #[ arg( "conv=CONVERSIONS" ) ]
50- Conv ( String ) ,
50+ Conv ( # [ allow ( unused ) ] String ) ,
5151
5252 #[ arg( "iflag=FLAGS" ) ]
53- Iflag ( String ) ,
53+ Iflag ( # [ allow ( unused ) ] String ) ,
5454
5555 #[ arg( "oflag=FLAGS" ) ]
56- Oflag ( String ) ,
56+ Oflag ( # [ allow ( unused ) ] String ) ,
5757}
5858
5959#[ derive( Debug , PartialEq , Eq ) ]
You can’t perform that action at this time.
0 commit comments