Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
JossDuff committed May 29, 2024
1 parent 238040d commit edf3365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyperfuel-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ fn add_selections_to_field_selection(query: &mut Query) -> Query {
}

// first sort by block height, then by receipt_index
fn sort_receipts(receipts: &mut Vec<Receipt>) {
fn sort_receipts(receipts: &mut [Receipt]) {
receipts.sort_by(|a, b| {
a.block_height
.cmp(&b.block_height)
Expand Down

0 comments on commit edf3365

Please sign in to comment.