Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 27, 2023
1 parent 322ec02 commit 659dd3b
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 @@ -89,7 +89,7 @@ fn build_config() -> Result<RunKind, String> {
matches.opt_str("c").as_str_ref(),
work_mode,
&matches.opt_strs("d"),
matches.free.get(0).as_str_ref(),
matches.free.first().as_str_ref(),
matches.free.get(1).as_str_ref(),
matches.opt_str("o").as_str_ref(),
matches.opt_str("doc-target-path").as_str_ref(),
Expand Down

0 comments on commit 659dd3b

Please sign in to comment.