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 @@ -21,12 +21,12 @@ enum Arg {
2121 // Completion is derived from the `Number` type, through the `Value` trait
2222 /// Give it a number!
2323 #[ arg( "-n N" , "--number=N" ) ]
24- Number ( Number ) ,
24+ Number ( # [ allow ( unused ) ] Number ) ,
2525
2626 // Completion is derived from the `PathBuf` type
2727 /// Give it a path!
2828 #[ arg( "-p P" , "--path=P" ) ]
29- Path ( PathBuf ) ,
29+ Path ( # [ allow ( unused ) ] PathBuf ) ,
3030}
3131
3232struct 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