docs: fix some typos (#1531)
Signed-off-by: cuishuang <imcusg@gmail.com>
This commit is contained in:
@@ -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()`.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user