Skip to content

Commit

Permalink
docs: fix some typos (#1562)
Browse files Browse the repository at this point in the history
Co-authored-by: Sean McArthur <sean@seanmonstar.com>
  • Loading branch information
kianmeng and seanmonstar committed Nov 15, 2022
1 parent e302f75 commit 81fc85a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/async_impl/response.rs
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/blocking/response.rs
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/wasm/body.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 81fc85a

Please sign in to comment.