File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ async fn main() -> std::io::Result<()> {
2020 . parse ( )
2121 . expect ( "PORT must be a valid u16" ) ;
2222
23- info ! ( "Starting server on port {}" , port ) ;
23+ info ! ( "Starting server on port {port}" ) ;
2424
2525 HttpServer :: new ( move || {
2626 App :: new ( )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pub async fn test_upload(
2020) {
2121 let private_key = std:: env:: var ( "TEST_PRIVATE_KEY" ) . expect ( "TEST_PRIVATE_KEY must be set" ) ;
2222
23- let mut app = test:: init_service (
23+ let app = test:: init_service (
2424 App :: new ( )
2525 . wrap ( Logger :: default ( ) )
2626 . wrap ( ErrorHandlers :: new ( ) . handler ( StatusCode :: NOT_FOUND , handle_not_found) )
@@ -44,7 +44,7 @@ pub async fn test_upload(
4444 . set_payload ( body)
4545 . to_request ( ) ;
4646
47- let rsp = test:: call_service ( & mut app, req) . await ;
47+ let rsp = test:: call_service ( & app, req) . await ;
4848
4949 assert ! ( rsp. status( ) . is_success( ) ) ;
5050}
You can’t perform that action at this time.
0 commit comments