@@ -283,8 +283,8 @@ where
283
283
284
284
fn layer ( & self , inner : S ) -> Self :: Service {
285
285
match self {
286
- Either :: E1 ( layer) => Either :: E1 ( layer. layer ( inner) ) ,
287
- Either :: E2 ( layer) => Either :: E2 ( layer. layer ( inner) ) ,
286
+ Self :: E1 ( layer) => Either :: E1 ( layer. layer ( inner) ) ,
287
+ Self :: E2 ( layer) => Either :: E2 ( layer. layer ( inner) ) ,
288
288
}
289
289
}
290
290
}
@@ -300,15 +300,15 @@ where
300
300
301
301
fn poll_ready ( & mut self , cx : & mut Context < ' _ > ) -> Poll < Result < ( ) , Self :: Error > > {
302
302
match self {
303
- Either :: E1 ( inner) => inner. poll_ready ( cx) ,
304
- Either :: E2 ( inner) => inner. poll_ready ( cx) ,
303
+ Self :: E1 ( inner) => inner. poll_ready ( cx) ,
304
+ Self :: E2 ( inner) => inner. poll_ready ( cx) ,
305
305
}
306
306
}
307
307
308
308
fn call ( & mut self , req : R ) -> Self :: Future {
309
309
match self {
310
- Either :: E1 ( inner) => futures_util:: future:: Either :: Left ( inner. call ( req) ) ,
311
- Either :: E2 ( inner) => futures_util:: future:: Either :: Right ( inner. call ( req) ) ,
310
+ Self :: E1 ( inner) => futures_util:: future:: Either :: Left ( inner. call ( req) ) ,
311
+ Self :: E2 ( inner) => futures_util:: future:: Either :: Right ( inner. call ( req) ) ,
312
312
}
313
313
}
314
314
}
0 commit comments