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! { lazy_static! {
/// The `Remote` for the default reactor core. /// The `Remote` for the default reactor core.
#[doc(hidden)] static ref REMOTE: reactor::Remote = {
pub static ref REMOTE: reactor::Remote = {
spawn_core() 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. /// Spawns a service that binds to the given address using the given handle.
#[doc(hidden)] fn listen_with<S, Req, Resp, E>(new_service: S,
pub fn listen_with<S, Req, Resp, E>(new_service: S,
addr: SocketAddr, addr: SocketAddr,
handle: Handle) handle: Handle)
-> io::Result<SocketAddr> -> io::Result<SocketAddr>