File tree Expand file tree Collapse file tree 6 files changed +0
-12
lines changed Expand file tree Collapse file tree 6 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -328,8 +328,6 @@ where
328328 ) -> _ ,
329329 > = svc. oneshot ( req) . map ( |result| match result {
330330 Ok ( res) => res. into_response ( ) ,
331-
332- #[ allow( unreachable_patterns) ]
333331 Err ( err) => match err { } ,
334332 } ) ;
335333
Original file line number Diff line number Diff line change @@ -341,8 +341,6 @@ impl Next {
341341 pub async fn run ( mut self , req : Request ) -> Response {
342342 match self . inner . call ( req) . await {
343343 Ok ( res) => res,
344-
345- #[ allow( unreachable_patterns) ]
346344 Err ( err) => match err { } ,
347345 }
348346 }
Original file line number Diff line number Diff line change @@ -278,8 +278,6 @@ macro_rules! impl_service {
278278 Ok ( res) => {
279279 f( $( $ty, ) * res) . await . into_response( )
280280 }
281-
282- #[ allow( unreachable_patterns) ]
283281 Err ( err) => match err { }
284282 }
285283 } ) ;
Original file line number Diff line number Diff line change @@ -250,8 +250,6 @@ impl Future for InfallibleRouteFuture {
250250 fn poll ( self : Pin < & mut Self > , cx : & mut Context < ' _ > ) -> Poll < Self :: Output > {
251251 match futures_util:: ready!( self . project( ) . future. poll( cx) ) {
252252 Ok ( response) => Poll :: Ready ( response) ,
253-
254- #[ allow( unreachable_patterns) ]
255253 Err ( err) => match err { } ,
256254 }
257255 }
Original file line number Diff line number Diff line change 1111//!
1212//! [hyper-util]: https://crates.io/crates/hyper-util
1313
14- #![ allow( unreachable_patterns) ]
15-
1614use std:: convert:: Infallible ;
1715use std:: net:: SocketAddr ;
1816
Original file line number Diff line number Diff line change 33//! ```not_rust
44//! cargo run -p example-unix-domain-socket
55//! ```
6- #![ allow( unreachable_patterns) ]
7-
86#[ cfg( unix) ]
97#[ tokio:: main]
108async fn main ( ) {
You can’t perform that action at this time.
0 commit comments