From 3741e16cf2ce828841ae4eb64884f0f13b88abf9 Mon Sep 17 00:00:00 2001 From: heliumbrain Date: Sun, 12 Sep 2021 16:25:25 +0200 Subject: [PATCH] Fix typos in docs (#318) * Fix typo in docs Typos for FromRequest * One more typo --- src/extract/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extract/mod.rs b/src/extract/mod.rs index 23df8aa1..ad42ce4f 100644 --- a/src/extract/mod.rs +++ b/src/extract/mod.rs @@ -345,15 +345,15 @@ pub use self::typed_header::TypedHeader; /// # What is the `B` type parameter? /// /// `FromRequest` is generic over the request body (the `B` in -/// [`http::Request`]). This is to allow `FromRequest` to be usable will any +/// [`http::Request`]). This is to allow `FromRequest` to be usable with any /// type of request body. This is necessary because some middleware change the /// request body, for example to add timeouts. /// /// If you're writing your own `FromRequest` that wont be used outside your /// application, and not using any middleware that changes the request body, you -/// can most likely use `axum::body::Body`. Note this is also the default. +/// can most likely use `axum::body::Body`. Note that this is also the default. /// -/// If you're writing a library, thats intended for others to use, its recommended +/// If you're writing a library that's intended for others to use, it's recommended /// to keep the generic type parameter: /// /// ```rust