Skip to content

Commit

Permalink
docs: Fix some errors in Chinese document preallocation table (#10768)
Browse files Browse the repository at this point in the history
  • Loading branch information
smileby authored Jan 7, 2024
1 parent 65ddb3a commit 1a34a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh/latest/CODE_STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ end
```lua
--Yes
local new_tab = require "table.new"
local t = new_tab(100, 0)
local t = new_tab(100000, 0)
for i = 1, 100000 do
t[i] = "a"
end
Expand Down

0 comments on commit 1a34a29

Please sign in to comment.