Skip to content

Commit

Permalink
vtest-cleancode: add builtin/map.v to fmt list (#7285)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrel authored Dec 14, 2020
1 parent 78fb84c commit 999fe84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/tools/vtest-cleancode.v
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const (
'cmd/tools/vdoc.v'
'cmd/v/v.v',
'vlib/builtin/array.v',
'vlib/builtin/map.v',
'vlib/os/file.v',
'vlib/math/bits/bits.v',
'vlib/time/time.v',
Expand Down
2 changes: 1 addition & 1 deletion vlib/builtin/map.v
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fn new_dense_array(key_bytes int, value_bytes int) DenseArray {
len: 0
deletes: 0
all_deleted: 0
data: malloc(cap * slot_bytes)
data: malloc(cap * slot_bytes)
}
}

Expand Down

0 comments on commit 999fe84

Please sign in to comment.