Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
maeb committed Sep 16, 2024
1 parent 899e697 commit b355f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion url/url.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (u *Url) SetPathname(path string) {
_, _ = u.parser.BasicParser(path, nil, u, StatePathStart)
}

// OpaquePath tells is the path is opaque (https://url.spec.whatwg.org/#url-opaque-path)
// OpaquePath tells if the path is opaque (https://url.spec.whatwg.org/#url-opaque-path)
func (u *Url) OpaquePath() bool {
return u.path.opaque
}
Expand Down

0 comments on commit b355f2f

Please sign in to comment.