mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-08 00:00:24 +02:00
Fix a few typos in docs and comments (#2808)
This commit is contained in:
@@ -50,7 +50,7 @@ async fn print_request_body(request: Request, next: Next) -> Result<impl IntoRes
|
||||
async fn buffer_request_body(request: Request) -> Result<Request, Response> {
|
||||
let (parts, body) = request.into_parts();
|
||||
|
||||
// this wont work if the body is an long running stream
|
||||
// this won't work if the body is an long running stream
|
||||
let bytes = body
|
||||
.collect()
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user