all: set rust edition to 2024
This commit is contained in:
parent
02a18f620b
commit
3338909170
515 changed files with 1225 additions and 1187 deletions
|
|
@ -15,11 +15,7 @@ impl ThresholdCounter {
|
|||
}
|
||||
|
||||
pub fn adj(&self, inc: bool) -> bool {
|
||||
if inc {
|
||||
self.inc()
|
||||
} else {
|
||||
self.dec()
|
||||
}
|
||||
if inc { self.inc() } else { self.dec() }
|
||||
}
|
||||
|
||||
pub fn active(&self) -> bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue