tweak some pattern matches to address a new clippy warning

This commit is contained in:
Mira Ressel committed 2023-03-20 16:36:06 +01:00
1 parent a01de76ca1
commit 058082fcb0
6 files changed
+7 -7

No files matched your search

@@ -65,7 +65,7 @@ where
}
'outer: loop {
let &(ref last_hash, ref last_header) = ancestry
let (last_hash, last_header) = ancestry
.last()
.expect("ancestry has length 1 at initialization and is only added to; qed");