Skip to content

Commit

Permalink
fix(server): JoinHandle type parameter
Browse files Browse the repository at this point in the history
The new beta adopts the new `JoinHandle` API which has a type parameter.
  • Loading branch information
blaenk committed Apr 17, 2015
1 parent 86359a5 commit c694b13
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,7 @@ where S: NetworkStream + Clone, H: Handler {

/// A listening server, which can later be closed.
pub struct Listening {
#[cfg(feature = "nightly")]
_guard: Option<JoinHandle<()>>,
#[cfg(not(feature = "nightly"))]
_guard: Option<JoinHandle>,
/// The socket addresses that the server is bound to.
pub socket: SocketAddr,
}
Expand Down

0 comments on commit c694b13

Please sign in to comment.