mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Fix Clippy for Rust 1.90 beta (#7826)
Fix Clippy for recently released Rust 1.90 beta. There may be more changes required when Rust 1.89 stable is released in a few days, but possibly not 🤞
This commit is contained in:
@@ -104,7 +104,7 @@ impl Config {
|
||||
Err(Error::ConfigInvalidZeroParameter {
|
||||
config: self.clone(),
|
||||
})
|
||||
} else if self.history_length % self.chunk_size != 0 {
|
||||
} else if !self.history_length.is_multiple_of(self.chunk_size) {
|
||||
Err(Error::ConfigInvalidChunkSize {
|
||||
chunk_size: self.chunk_size,
|
||||
history_length: self.history_length,
|
||||
|
||||
Reference in New Issue
Block a user