File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ use std::{
5
5
pin:: Pin ,
6
6
} ;
7
7
8
- // pub use futures_util::future::LocalBoxFuture;
9
-
10
8
use crate :: { MakeService , Service } ;
11
9
12
10
pub struct BoxedService < Request , Response , E > {
@@ -83,14 +81,11 @@ where
83
81
type BoxedFuture < T , E > = Pin < Box < dyn Future < Output = Result < T , E > > > > ;
84
82
85
83
struct ServiceVtable < T , U , E > {
86
- call : unsafe fn ( raw : * const ( ) , req : T ) -> BoxedFuture < U , E > ,
84
+ call : unsafe fn ( raw : * const ( ) , req : T ) -> BoxedFuture < U , E > ,
87
85
drop : unsafe fn ( raw : * const ( ) ) ,
88
86
}
89
87
90
- unsafe fn call < R , S > (
91
- svc : * const ( ) ,
92
- req : R ,
93
- ) -> BoxedFuture < S :: Response , S :: Error >
88
+ unsafe fn call < R , S > ( svc : * const ( ) , req : R ) -> BoxedFuture < S :: Response , S :: Error >
94
89
where
95
90
R : ' static ,
96
91
S : Service < R > + ' static ,
You can’t perform that action at this time.
0 commit comments