From 81fc85a68949bd0ff73cfd9f292393b5c5ed42ed Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Wed, 16 Nov 2022 06:43:56 +0800 Subject: [PATCH] docs: fix some typos (#1562) Co-authored-by: Sean McArthur --- src/async_impl/response.rs | 2 +- src/blocking/response.rs | 2 +- src/wasm/body.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/async_impl/response.rs b/src/async_impl/response.rs index 09295af70..340e54174 100644 --- a/src/async_impl/response.rs +++ b/src/async_impl/response.rs @@ -127,7 +127,7 @@ impl Response { /// /// This method decodes the response body with BOM sniffing /// and with malformed sequences replaced with the REPLACEMENT CHARACTER. - /// Encoding is determinated from the `charset` parameter of `Content-Type` header, + /// Encoding is determined from the `charset` parameter of `Content-Type` header, /// and defaults to `utf-8` if not presented. /// /// # Example diff --git a/src/blocking/response.rs b/src/blocking/response.rs index 830c489a0..8d0e9b9cf 100644 --- a/src/blocking/response.rs +++ b/src/blocking/response.rs @@ -267,7 +267,7 @@ impl Response { /// /// This method decodes the response body with BOM sniffing /// and with malformed sequences replaced with the REPLACEMENT CHARACTER. - /// Encoding is determinated from the `charset` parameter of `Content-Type` header, + /// Encoding is determined from the `charset` parameter of `Content-Type` header, /// and defaults to `utf-8` if not presented. /// /// # Example diff --git a/src/wasm/body.rs b/src/wasm/body.rs index b485f8b68..dc38ed8ff 100644 --- a/src/wasm/body.rs +++ b/src/wasm/body.rs @@ -75,7 +75,7 @@ impl Body { } } - /// into_part turns a regular body into the body of a mutlipart/form-data part. + /// into_part turns a regular body into the body of a multipart/form-data part. #[cfg(feature = "multipart")] pub(crate) fn into_part(self) -> Body { match self.inner {