diff --git a/cmd/tools/vtest-cleancode.v b/cmd/tools/vtest-cleancode.v index 94a8d3a8e4..41be40aa34 100644 --- a/cmd/tools/vtest-cleancode.v +++ b/cmd/tools/vtest-cleancode.v @@ -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', diff --git a/vlib/builtin/map.v b/vlib/builtin/map.v index 37a7abf5a7..54e3114dad 100644 --- a/vlib/builtin/map.v +++ b/vlib/builtin/map.v @@ -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) } }