mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
Fix new nightly clippy issues (#1604)
* clipy * revert some fixes that newest clippy reports as issues, but older does not
This commit is contained in:
committed by
Bastian Köcher
parent
6c26aae035
commit
9e1847d12a
@@ -72,7 +72,7 @@ impl SyncLoopMetrics {
|
||||
|
||||
/// Update using-same-fork flag.
|
||||
pub fn update_using_same_fork(&self, using_same_fork: bool) {
|
||||
self.using_different_forks.set(if using_same_fork { 0 } else { 1 })
|
||||
self.using_different_forks.set((!using_same_fork).into())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ impl<
|
||||
(self.hard_selected_begin_nonce + self.index as MessageNonce),
|
||||
self.selected_prepaid_nonces,
|
||||
self.selected_unpaid_weight,
|
||||
self.selected_size as u32,
|
||||
self.selected_size,
|
||||
)
|
||||
.await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user