Skip to content

Commit

Permalink
fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
miller-time committed Feb 15, 2025
1 parent de930e2 commit 0e155ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct HclDeleter {

impl HclDeleter {
fn new(fields: Vec<Field>) -> Self {
let next = fields.get(0).cloned();
let next = fields.first().cloned();
HclDeleter {
fields,
current_index: 0,
Expand Down

0 comments on commit 0e155ad

Please sign in to comment.