Fix inaccurate code example

This commit is contained in:
Daniel P H Fox 2023-08-19 21:16:27 +01:00 committed by GitHub
parent 0d168f36a5
commit 1a60ffacf2
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,11 +142,9 @@ import thing1, thing2, thing3 from "foo/bar/baz"
```
```Lua
local baz = {
thing1 = require("foo/bar/baz").thing1,
thing2 = require("foo/bar/baz").thing2,
thing3 = require("foo/bar/baz").thing3
}
local thing1 = require("foo/bar/baz").thing1,
local thing2 = require("foo/bar/baz").thing2,
local thing3 = require("foo/bar/baz").thing3
```
### Syntax: Asterisk