Skip to content

Commit

Permalink
lint fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
bazhenov committed Nov 20, 2024
1 parent f1f1869 commit 66c315e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn main() {
);
}

let Some(target) = matches.free.get(0) else {
let Some(target) = matches.free.first() else {
print_usage_and_exit(&opts, Some(Fail::OptionMissing("PATH".to_string())));
};

Expand Down

0 comments on commit 66c315e

Please sign in to comment.