diff --git a/src/method.rs b/src/method.rs index b7b3b357..04261a37 100644 --- a/src/method.rs +++ b/src/method.rs @@ -463,7 +463,7 @@ mod test { } #[test] - fn test_extention_method() { + fn test_extension_method() { assert_eq!(Method::from_str("WOW").unwrap(), "WOW"); assert_eq!(Method::from_str("wOw!!").unwrap(), "wOw!!"); diff --git a/src/uri/mod.rs b/src/uri/mod.rs index 30be83b5..5ebd47b6 100644 --- a/src/uri/mod.rs +++ b/src/uri/mod.rs @@ -956,7 +956,7 @@ impl PartialEq for Uri { if other.len() < path.len() || path.as_bytes() != &other[..path.len()] { if absolute && path == "/" { - // PathAndQuery can be ommitted, fall through + // PathAndQuery can be omitted, fall through } else { return false; }