Skip to content

Commit

Permalink
docs: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Dec 18, 2024
1 parent 6e54e66 commit d28d53b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ precedence, see below.
* recordentry ::= ‘userdata’ |
* ‘type’ Name ‘=’ newtype | [‘metamethod’] recordkey ‘:’ type |
* ‘record’ recordbody | ‘enum’ enumbody
* ‘record’ Name recordbody | ‘enum’ Name enumbody
* recordkey ::= Name | ‘[’ LiteralString ‘]’
Expand Down
2 changes: 1 addition & 1 deletion docs/pragmas.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ checks, require the library, then re-enable them:

```lua
--#pragma arity off
local old_library = require("old_library)
local old_library = require("old_library")
--#pragma arity on

local function add(a: number, b: number): number
Expand Down

0 comments on commit d28d53b

Please sign in to comment.