Make private a couple items that no longer need to be public.

This commit is contained in:
Tim Kuehn
2017-01-17 15:35:25 -08:00
parent 558dda28ad
commit c976ca710a
2 changed files with 3 additions and 4 deletions

View File

@@ -119,8 +119,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>