Skip to content

Commit

Permalink
Use #[allow(unused)]
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Dec 8, 2021
1 parent 5676ea1 commit 317ddbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argh/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ fn redact_arg_values_positional() {
#[derive(FromArgs, Debug)]
/// Short description
struct Cmd {
#[allow(dead_code)]
#[allow(unused)]
#[argh(positional)]
/// speed of cmd
speed: u8,
Expand Down

0 comments on commit 317ddbe

Please sign in to comment.