Skip to content

Commit a34257b

Browse files
committed
Clippy after rebase
1 parent dc7d8f4 commit a34257b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

linera-bridge/src/proof/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ pub fn build_receipt_proof(
455455
.iter()
456456
.map(|(idx, rlp)| (receipt_trie_key(*idx), rlp.as_slice()))
457457
.collect();
458-
entries.sort_by(|a, b| a.0.cmp(&b.0));
458+
entries.sort_by_key(|a| a.0);
459459

460460
let target_key = receipt_trie_key(target_tx_index);
461461
let retainer = ProofRetainer::new(vec![target_key]);

0 commit comments

Comments
 (0)