mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-20 01:26:08 +00:00
tweak some pattern matches to address a new clippy warning
This commit is contained in:
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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user