mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +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
|
self.0 & PUSHED == PUSHED
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_pushed(&mut self) {
|
|
||||||
self.0 |= PUSHED;
|
|
||||||
}
|
|
||||||
|
|
||||||
fn unset_pushed(&mut self) {
|
fn unset_pushed(&mut self) {
|
||||||
self.0 &= !PUSHED;
|
self.0 &= !PUSHED;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user