diff --git a/src/asgi/http.rs b/src/asgi/http.rs index 3450b86c..679cee66 100644 --- a/src/asgi/http.rs +++ b/src/asgi/http.rs @@ -120,7 +120,7 @@ macro_rules! handle_request_with_ws { .map_err(|e| match e {}) .boxed(), ) - .unwrap() + .unwrap(); } }; } diff --git a/src/asgi/io.rs b/src/asgi/io.rs index 688ad0e7..e9651009 100644 --- a/src/asgi/io.rs +++ b/src/asgi/io.rs @@ -217,7 +217,7 @@ impl ASGIHTTPProtocol { Err(_) => { log::info!("Cannot open file {}", &file_path); response_404() - }, + } }; let _ = tx.send(res); Ok(()) diff --git a/src/rsgi/http.rs b/src/rsgi/http.rs index da53eb04..ff3e1d24 100644 --- a/src/rsgi/http.rs +++ b/src/rsgi/http.rs @@ -125,7 +125,7 @@ macro_rules! handle_request_with_ws { .map_err(|e| match e {}) .boxed(), ) - .unwrap() + .unwrap(); } } } diff --git a/src/rsgi/types.rs b/src/rsgi/types.rs index 638b5a9e..de18e1ac 100644 --- a/src/rsgi/types.rs +++ b/src/rsgi/types.rs @@ -237,7 +237,7 @@ impl PyResponseFile { Err(_) => { log::info!("Cannot open file {}", &self.file_path); response_404() - }, + } } } }