Skip to content

Commit 999fe84

Browse files
authored
vtest-cleancode: add builtin/map.v to fmt list (vlang#7285)
1 parent 78fb84c commit 999fe84

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/tools/vtest-cleancode.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const (
2121
'cmd/tools/vdoc.v'
2222
'cmd/v/v.v',
2323
'vlib/builtin/array.v',
24+
'vlib/builtin/map.v',
2425
'vlib/os/file.v',
2526
'vlib/math/bits/bits.v',
2627
'vlib/time/time.v',

vlib/builtin/map.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ fn new_dense_array(key_bytes int, value_bytes int) DenseArray {
119119
len: 0
120120
deletes: 0
121121
all_deleted: 0
122-
data: malloc(cap * slot_bytes)
122+
data: malloc(cap * slot_bytes)
123123
}
124124
}
125125

0 commit comments

Comments
 (0)