Skip to content

Commit

Permalink
Remove allow(deprecated).
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch committed Jun 28, 2019
1 parent 7965f83 commit e3fad89
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ipc/src/server.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#![allow(deprecated)]

use std;
use std::sync::Arc;

use crate::jsonrpc::futures::sync::{mpsc, oneshot};
Expand Down Expand Up @@ -154,7 +151,7 @@ impl<M: Metadata, S: Middleware<M>> ServerBuilder<M, S> {
}
}

let endpoint_handle = Handle::current();
let endpoint_handle = Handle::default();
let connections = match endpoint.incoming(&endpoint_handle) {
Ok(connections) => connections,
Err(e) => {
Expand Down

0 comments on commit e3fad89

Please sign in to comment.