Add missing "Example" in lua style guide
This commit is contained in:
parent
df865017c8
commit
0ec598a97d
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ Example:
|
||||||
1. Use `--[[]]` comments to comment out items from a list
|
1. Use `--[[]]` comments to comment out items from a list
|
||||||
2. Include separators in the comment (or not) according to the rules in the
|
2. Include separators in the comment (or not) according to the rules in the
|
||||||
table / sequence section
|
table / sequence section
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
print("Hello", "World"--[[, "foo", "bar"]])
|
print("Hello", "World"--[[, "foo", "bar"]])
|
||||||
local elements = { foo, --[[bar,]] }
|
local elements = { foo, --[[bar,]] }
|
||||||
|
|
Loading…
Reference in a new issue