Fix linting example.

This commit is contained in:
Phil Hagelberg 2025-06-27 14:02:33 -07:00
parent dca991eb2f
commit ac2ce4d8f2

View File

@ -10,13 +10,13 @@ remove the binding, or add an `_` to the variable name.
## Example
```fnl
(local value 100)
(var value 100)
(set value 10)
```
Instead, use the value, remove it, or add `_` to the variable name.
```fnl
(local value 100)
(var value 100)
(set value 10)
;; use the value
(print value)
@ -316,4 +316,4 @@ instead of flagging all discards, because these forms indicate that the user
## Note
You find more information about Lua's multivals in [Benaiah's excellent post explaining Lua's multivals](https://benaiah.me/posts/everything-you-didnt-want-to-know-about-lua-multivals),
or by searching the word "adjust" in the [Lua Manual](https://www.lua.org/manual/5.4/manual.html#3.4.12).
or by searching the word "adjust" in the [Lua Manual](https://www.lua.org/manual/5.4/manual.html#3.4.12).