Merge pull request #79 from tikue/private-items

Make private a couple items that no longer need to be public.
This commit is contained in:
Adam Wright
2017-01-22 15:23:59 -08:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -115,8 +115,7 @@ use tokio_core::reactor;
lazy_static! {
/// The `Remote` for the default reactor core.
#[doc(hidden)]
pub static ref REMOTE: reactor::Remote = {
static ref REMOTE: reactor::Remote = {
spawn_core()
};
}

View File

@@ -72,9 +72,9 @@ pub fn listen<S, Req, Resp, E>(new_service: S, addr: SocketAddr, options: Option
}
}
}
/// Spawns a service that binds to the given address using the given handle.
#[doc(hidden)]
pub fn listen_with<S, Req, Resp, E>(new_service: S,
fn listen_with<S, Req, Resp, E>(new_service: S,
addr: SocketAddr,
handle: Handle)
-> io::Result<SocketAddr>