Skip to content

Commit 25c1803

Browse files
authored
chore: fix typos (#633)
1 parent 1a04e71 commit 25c1803

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/method.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ mod test {
463463
}
464464

465465
#[test]
466-
fn test_extention_method() {
466+
fn test_extension_method() {
467467
assert_eq!(Method::from_str("WOW").unwrap(), "WOW");
468468
assert_eq!(Method::from_str("wOw!!").unwrap(), "wOw!!");
469469

src/uri/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ impl PartialEq<str> for Uri {
956956

957957
if other.len() < path.len() || path.as_bytes() != &other[..path.len()] {
958958
if absolute && path == "/" {
959-
// PathAndQuery can be ommitted, fall through
959+
// PathAndQuery can be omitted, fall through
960960
} else {
961961
return false;
962962
}

0 commit comments

Comments
 (0)