Fix new warnings

This commit is contained in:
Simon Sapin 2019-01-04 15:27:23 +01:00
parent 5f422b6161
commit cf05e37c0b
3 changed files with 1 additions and 25 deletions

View file

@ -124,10 +124,6 @@ impl Worker {
Ok(worker)
}
pub fn is_closing(&self) -> bool {
self.closing.load(Ordering::SeqCst)
}
pub fn is_terminated(&self) -> bool {
self.terminated.get()
}