Skip to content

Commit

Permalink
docs: fix some typos (#1531)
Browse files Browse the repository at this point in the history
Signed-off-by: cuishuang <imcusg@gmail.com>
  • Loading branch information
cuishuang committed Apr 25, 2022
1 parent d24a528 commit 6ca5f3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -579,7 +579,7 @@
### Breaking Changes

- hyper has been upgraded to 0.11, so `header`, `StatusCode`, and `Method` have breaking changes.
- `mime` has been ugpraded to 0.3, with a very different API.
- `mime` has been upgraded to 0.3, with a very different API.
- All configuration methods have been removed from the `Client`, and moved to the `ClientBuilder`.
- The `HttpVersion` type was completely removed.
- `Error::cause()` now returns `Error::get_ref().cause()`.
Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Expand Up @@ -60,7 +60,7 @@ impl Error {
self.inner.url.as_ref()
}

/// Returns a mutable referene to the URL related to this error
/// Returns a mutable reference to the URL related to this error
///
/// This is useful if you need to remove sensitive information from the URL
/// (e.g. an API key in the query), but do not want to remove the URL
Expand Down

0 comments on commit 6ca5f3e

Please sign in to comment.