Skip to content

Commit

Permalink
Fix Clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Baarsgaard committed Jan 14, 2024
1 parent 3e3ee3b commit 3f1f074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jig-cli/src/commands/assign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl ExecCommand for Assign {
if users.is_empty() {
Err(eyre!("No users found in search"))
} else if users.len() == 1 {
match users.get(0) {
match users.first() {
Some(user) => Ok(user.to_owned()),
None => Err(eyre!("List of one user had unwrapped to None?")),
}
Expand Down

0 comments on commit 3f1f074

Please sign in to comment.