tweak some pattern matches to address a new clippy warning

This commit is contained in:
Mira Ressel
2023-03-16 15:46:34 +01:00
parent a01de76ca1
commit 058082fcb0
6 changed files with 7 additions and 7 deletions
@@ -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");