Skip to content

Commit 94e4abd

Browse files
smilebybaiyun
and
baiyun
authored
docs: fix some errors in the pre-allocate table (#10695)
Co-authored-by: baiyun <[email protected]>
1 parent c7d406d commit 94e4abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CODE_STYLE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ end
264264
```lua
265265
--Yes
266266
local new_tab = require "table.new"
267-
local t = new_tab(100, 0)
267+
local t = new_tab(100000, 0)
268268
for i = 1, 100000 do
269269
t[i] = "a"
270270
end

0 commit comments

Comments
 (0)