mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 13:21:01 +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())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user