Skip to content

Commit

Permalink
Resolve clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski committed Jun 19, 2024
1 parent e2230c8 commit f710d94
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,8 @@ mod tests {

let args = if let Some(args) = args {
args.split(' ').collect_vec()
} else if let Some(args) = arg_list {
args
} else {
Default::default()
arg_list.unwrap_or_default()
};
// The first word is interpreted as the binary name
let args = vec!["binary_name"]
Expand Down

0 comments on commit f710d94

Please sign in to comment.