File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -431,6 +431,7 @@ impl MediaType {
431431
432432#[ cfg( test) ]
433433mod tests {
434+ #![ allow( missing_docs) ]
434435 use super :: * ;
435436 use std:: collections:: HashMap ;
436437
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ impl<T: Send> HttpRoutes<T> {
106106mod tests {
107107 use super :: * ;
108108
109- struct HandlerArg ( bool ) ;
109+ struct HandlerArg ;
110110
111111 struct MockHandler { }
112112
@@ -149,7 +149,7 @@ mod tests {
149149
150150 let request =
151151 Request :: try_from ( b"GET http://localhost/api/v1/func2 HTTP/1.1\r \n \r \n " , None ) . unwrap ( ) ;
152- let arg = HandlerArg ( true ) ;
152+ let arg = HandlerArg ;
153153 let reply = router. handle_http_request ( & request, & arg) ;
154154 assert_eq ! ( reply. status( ) , StatusCode :: NotFound ) ;
155155 }
You can’t perform that action at this time.
0 commit comments