Skip to content

Commit

Permalink
chore: fix typos (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolou86 committed Nov 6, 2023
1 parent 1a04e71 commit 25c1803
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/method.rs
Expand Up @@ -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!!");

Expand Down
2 changes: 1 addition & 1 deletion src/uri/mod.rs
Expand Up @@ -956,7 +956,7 @@ impl PartialEq<str> 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;
}
Expand Down

0 comments on commit 25c1803

Please sign in to comment.