docs(misc): fix typos caught by codespell

This commit is contained in:
Tshepang Lekhonkhobe
2015-05-06 02:25:29 +02:00
parent 67340a5d3e
commit 7ddea2791c
7 changed files with 8 additions and 8 deletions

View File

@@ -25,7 +25,7 @@
//! # use hyper::Client;
//! let mut client = Client::new();
//!
//! let res = client.post("http://exmaple.domain")
//! let res = client.post("http://example.domain")
//! .body("foo=bar")
//! .send()
//! .unwrap();
@@ -266,7 +266,7 @@ impl<'a, U: IntoUrl> RequestBuilder<'a, U> {
}
};
match client.redirect_policy {
// separate branches because they cant be one
// separate branches because they can't be one
RedirectPolicy::FollowAll => (), //continue
RedirectPolicy::FollowIf(cond) if cond(&url) => (), //continue
_ => return Ok(res),