Skip to content

Commit

Permalink
chore(clippy): use next_back instead of last for DoubleEndedIterator
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa committed Jan 11, 2025
1 parent 6f81e76 commit 8d2bee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/config/src/invariant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ impl InvariantConfig {
self.failure_persist_dir
.unwrap()
.join("failures")
.join(contract_name.split(':').last().unwrap())
.join(contract_name.split(':').next_back().unwrap())
}
}

0 comments on commit 8d2bee7

Please sign in to comment.