mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-24 00:00:16 +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
|
||||
|
||||
@@ -38,7 +38,7 @@ where
|
||||
Self {
|
||||
rest: self.rest.clone(),
|
||||
grpc: self.grpc.clone(),
|
||||
// the cloned services probably wont be ready
|
||||
// the cloned services probably won't be ready
|
||||
rest_ready: false,
|
||||
grpc_ready: false,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user