Skip to content

Commit 317ddbe

Browse files
committed
Use #[allow(unused)]
1 parent 5676ea1 commit 317ddbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

argh/tests/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ fn redact_arg_values_positional() {
10441044
#[derive(FromArgs, Debug)]
10451045
/// Short description
10461046
struct Cmd {
1047-
#[allow(dead_code)]
1047+
#[allow(unused)]
10481048
#[argh(positional)]
10491049
/// speed of cmd
10501050
speed: u8,

0 commit comments

Comments
 (0)