Fix a few typos in docs and comments (#2808)

This commit is contained in:
Chris Pick
2024-06-27 08:45:57 +02:00
committed by GitHub
parent 4f3999c20f
commit 035c8a36b5
9 changed files with 14 additions and 15 deletions
@@ -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