mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
parser: check (mut f Foo)
syntax
This commit is contained in:
parent
b138cadbcb
commit
7f4cf08516
87 changed files with 492 additions and 480 deletions
|
@ -651,7 +651,7 @@ fn parse_host(host string) ?string {
|
|||
// - set_path('/foo%2fbar') will set path='/foo/bar' and raw_path='/foo%2fbar'
|
||||
// set_path will return an error only if the provided path contains an invalid
|
||||
// escaping.
|
||||
pub fn (u mut URL) set_path(p string) ?bool {
|
||||
pub fn (mut u URL) set_path(p string) ?bool {
|
||||
path := unescape(p, .encode_path) or {
|
||||
return error(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue