Skip to content

Commit

Permalink
fix(clippy): fix clippy lints
Browse files Browse the repository at this point in the history
Signed-off-by: Christina Sørensen <[email protected]>
  • Loading branch information
cafkafk committed Oct 26, 2023
1 parent 589e01a commit e362114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/command.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use clap::{arg, command, crate_authors, Arg, ArgMatches, Command};
use clap::{arg, command, crate_authors, Arg, Command};

/// Parses command-line arguments using the `clap` library.
///
Expand Down
2 changes: 1 addition & 1 deletion src/parser/populate_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub fn populate_set(
set: &mut Vec<String>,
) {
for option in parse {
if let Some((key, stuff)) = config.commands.as_ref().unwrap().get_key_value(&option) {
if let Some((key, stuff)) = config.commands.as_ref().unwrap().get_key_value(option) {
match key {
(Some(left), Some(right)) => {
if let Some(prefix) = stuff.prefix.as_ref() {
Expand Down

0 comments on commit e362114

Please sign in to comment.