Skip to content

Commit

Permalink
style: Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski committed Jun 21, 2024
1 parent 9aafcb1 commit 1716448
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 1716448

Please sign in to comment.