docs: fix some typos (#1562)
Co-authored-by: Sean McArthur <sean@seanmonstar.com>
This commit is contained in:
@@ -127,7 +127,7 @@ impl Response {
|
|||||||
///
|
///
|
||||||
/// This method decodes the response body with BOM sniffing
|
/// This method decodes the response body with BOM sniffing
|
||||||
/// and with malformed sequences replaced with the REPLACEMENT CHARACTER.
|
/// 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.
|
/// and defaults to `utf-8` if not presented.
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
|
|||||||
@@ -267,7 +267,7 @@ impl Response {
|
|||||||
///
|
///
|
||||||
/// This method decodes the response body with BOM sniffing
|
/// This method decodes the response body with BOM sniffing
|
||||||
/// and with malformed sequences replaced with the REPLACEMENT CHARACTER.
|
/// 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.
|
/// and defaults to `utf-8` if not presented.
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
|
|||||||
@@ -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")]
|
#[cfg(feature = "multipart")]
|
||||||
pub(crate) fn into_part(self) -> Body {
|
pub(crate) fn into_part(self) -> Body {
|
||||||
match self.inner {
|
match self.inner {
|
||||||
|
|||||||
Reference in New Issue
Block a user