remove trailing semicolon
This commit is contained in:
parent
054da40f0f
commit
520a06d52c
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
@ -42,8 +42,8 @@ Add nix2lua as input to your flake.nix
|
||||||
> To render `nil` you should use the `mkLuaNil` function.
|
> To render `nil` you should use the `mkLuaNil` function.
|
||||||
>
|
>
|
||||||
> ```nix
|
> ```nix
|
||||||
> toLua { foo = "bar"; };
|
> toLua { foo = "bar"; }
|
||||||
> toLua [ 10 "foo" [ "bar" ] ];
|
> toLua [ 10 "foo" [ "bar" ] ]
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
`mkLuaNil expr`
|
`mkLuaNil expr`
|
||||||
|
@ -51,7 +51,7 @@ Add nix2lua as input to your flake.nix
|
||||||
> Creates a type that will mapped by the `toLua` as `nil`
|
> Creates a type that will mapped by the `toLua` as `nil`
|
||||||
>
|
>
|
||||||
> ```nix
|
> ```nix
|
||||||
> toLua mkLuaNil;
|
> toLua mkLuaNil
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
`mkLuaRaw expr`
|
`mkLuaRaw expr`
|
||||||
|
@ -60,7 +60,7 @@ Add nix2lua as input to your flake.nix
|
||||||
> `expr`.
|
> `expr`.
|
||||||
>
|
>
|
||||||
> ```nix
|
> ```nix
|
||||||
> toLua (mkLuaRaw "require('bar').baz");
|
> toLua (mkLuaRaw "require('bar').baz")
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
`mkNamedField name expr`
|
`mkNamedField name expr`
|
||||||
|
@ -74,7 +74,7 @@ Add nix2lua as input to your flake.nix
|
||||||
> toLua [
|
> toLua [
|
||||||
> "foo"
|
> "foo"
|
||||||
> (mkNamedField "bar" "baz")
|
> (mkNamedField "bar" "baz")
|
||||||
> ];
|
> ]
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
Loading…
Reference in a new issue