mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
threadpool: remove unused fn (#822)
The unused lint on nightly has discovered a new unused fn.
This commit is contained in:
parent
5e2d93f060
commit
f0bdf1980c
@ -243,10 +243,6 @@ impl State {
|
||||
self.0 & PUSHED == PUSHED
|
||||
}
|
||||
|
||||
pub fn set_pushed(&mut self) {
|
||||
self.0 |= PUSHED;
|
||||
}
|
||||
|
||||
fn unset_pushed(&mut self) {
|
||||
self.0 &= !PUSHED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user