File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,6 @@ error_chain! {
119
119
type CoreSender = mpsc:: UnboundedSender < ( Request , oneshot:: Sender < Result < Vec < u8 > > > ) > ;
120
120
type CoreReceiver = mpsc:: UnboundedReceiver < ( Request , oneshot:: Sender < Result < Vec < u8 > > > ) > ;
121
121
122
- /// Future type returned from `HttpTransport`.
123
- pub type HttpFuture < T , E > = Box < Future < Item = T , Error = E > + Send > ;
124
122
125
123
/// The main struct of the HTTP transport implementation for
126
124
/// [`jsonrpc_client_core`](../jsonrpc_client_core).
@@ -339,7 +337,7 @@ impl HttpHandle {
339
337
}
340
338
341
339
impl Transport for HttpHandle {
342
- type Future = HttpFuture < Vec < u8 > , Error > ;
340
+ type Future = Box < Future < Item = Vec < u8 > , Error = Self :: Error > + Send > ;
343
341
type Error = Error ;
344
342
345
343
fn get_next_id ( & mut self ) -> u64 {
You can’t perform that action at this time.
0 commit comments