fix(lib): Fixed typos in multiple modules

BREAKING CHANGE: The `Preference` header had a typo in a variant and it's string representation,
  change `Preference::HandlingLeniant` to `Preference::HandlingLenient`.
This commit is contained in:
Julian Tescher
2017-02-07 11:04:42 -08:00
committed by Sean McArthur
parent 0d05533d07
commit 2fa414fb5f
15 changed files with 22 additions and 22 deletions

View File

@@ -71,7 +71,7 @@ impl FromStr for Origin {
Some(idx) => idx,
None => return Err(::Error::Header)
};
// idx + 3 because thats how long "://" is
// idx + 3 because that's how long "://" is
let (scheme, etc) = (&s[..idx], &s[idx + 3..]);
let host = try!(Host::from_str(etc));