Skip to content

Commit

Permalink
fix(tests): clippy checks
Browse files Browse the repository at this point in the history
  • Loading branch information
borispovod committed Nov 23, 2023
1 parent 62f2d0d commit 0104da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/derive/stages/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ mod tests {
assert_eq!(transactions.len(), 2, "wrong transactions length");

let (deposited_epoch, seq_number) =
transactions.get(0).unwrap().derive_unsafe_epoch().unwrap();
transactions.first().unwrap().derive_unsafe_epoch().unwrap();
assert_eq!(
deposited_epoch, new_epoch,
"wrong epoch in deposited transaction"
Expand Down

0 comments on commit 0104da9

Please sign in to comment.