threadpool: remove unused fn (#822)

The unused lint on nightly has discovered a new unused fn.
This commit is contained in:
Carl Lerche 2019-01-03 09:34:37 -08:00 committed by GitHub
parent 5e2d93f060
commit f0bdf1980c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}