mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
tweak some pattern matches to address a new clippy warning
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user