Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
quambene committed Mar 13, 2024
1 parent 4a3aed6 commit cd5aab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ fn configure_source_folders() -> Result<Option<Vec<String>>, anyhow::Error> {
fn select_source_folders_from_input(input: &str) -> Result<Option<Vec<String>>, BogrepError> {
let choices: Vec<&str> = input.split_whitespace().collect();

if choices.len() == 0 {
if choices.is_empty() {
Err(BogrepError::InvalidInput)
} else if choices.len() == 1 {
match choices[0] {
Expand Down

0 comments on commit cd5aab8

Please sign in to comment.