mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
ThreadPool refactoring (#299)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use pool::Inner;
|
||||
use pool::Pool;
|
||||
use sender::Sender;
|
||||
|
||||
use std::sync::atomic::Ordering::{Acquire};
|
||||
@@ -24,7 +24,7 @@ pub struct Shutdown {
|
||||
}
|
||||
|
||||
impl Shutdown {
|
||||
fn inner(&self) -> &Inner {
|
||||
fn inner(&self) -> &Pool {
|
||||
&*self.inner.inner
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user