mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +02:00
threadpool: remove unused fn (#822)
The unused lint on nightly has discovered a new unused fn.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user