diff options
author | cx <simon.farre.cx@gmail.com> | 2021-10-22 19:34:39 +0200 |
---|---|---|
committer | cx <simon.farre.cx@gmail.com> | 2021-10-22 19:34:39 +0200 |
commit | d210f4d1aad7d768d1f3bbd068565439888a4b3e (patch) | |
tree | 7199325f8240fe39e76231f4ee5665497421bdbb /rust | |
parent | fe00feed5a0d0813a60e7c5690e970a35044fd68 (diff) |
Addressed clippy errors.
I should have learned by now. I'm building a bash
script that will run clippy going forward
and not run git push unless exit code = 0
Diffstat (limited to 'rust')
-rw-r--r-- | rust/libnewsboat/src/cliargsparser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/libnewsboat/src/cliargsparser.rs b/rust/libnewsboat/src/cliargsparser.rs index e4d1ffdb..b82f9e44 100644 --- a/rust/libnewsboat/src/cliargsparser.rs +++ b/rust/libnewsboat/src/cliargsparser.rs @@ -246,7 +246,7 @@ impl CliArgsParser { CliParseError::InvalidLogLevel(display_msg) => { args.display_msg = display_msg; } - CliParseError::LexoptError(err) => { + CliParseError::LexoptError(_) => { args.should_print_usage = true; } CliParseError::PrintAndExit => { |