Add missing "Example" in lua style guide

This commit is contained in:
Talia 2019-07-18 13:02:07 +02:00
parent df865017c8
commit 0ec598a97d

View file

@ -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,]] }