mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
map: rename size to len
This commit is contained in:
parent
fbe5599526
commit
7f225f2eaa
10 changed files with 116 additions and 116 deletions
|
@ -879,7 +879,7 @@ fn parse_query_values(mut m Values, query string) ?bool {
|
|||
// encode encodes the values into ``URL encoded'' form
|
||||
// ('bar=baz&foo=quux') sorted by key.
|
||||
pub fn (v Values) encode() string {
|
||||
if v.size == 0 {
|
||||
if v.len == 0 {
|
||||
return ''
|
||||
}
|
||||
mut buf := strings.new_builder(200)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue