diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-18 16:53:34 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-18 16:53:34 +0800 |
| commit | c523224d76b72772de3a325636cf26cc5ffbf753 (patch) | |
| tree | be36814b31741dae44742a5041e84a6529b5422d | |
| parent | 15edab9913b0f50ade29cb99cd192a9051926508 (diff) | |
docs(blog): fix syntax error in example code
Former-commit-id: 70cefef1e61be04138fd99feebd26a3fc5116e10
| -rw-r--r-- | content/posts/稻草人周刊-vol-16.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/posts/稻草人周刊-vol-16.md b/content/posts/稻草人周刊-vol-16.md index a0a9ba20..0b8c19a4 100644 --- a/content/posts/稻草人周刊-vol-16.md +++ b/content/posts/稻草人周刊-vol-16.md @@ -142,7 +142,7 @@ enums = { 要遍历 `table` 也非常方便。 ```lua -for k, v in tbl do +for k, v in ipairs(tbl) do -- ... end ``` |
