mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix inaccurate code example
This commit is contained in:
parent
0d168f36a5
commit
1a60ffacf2
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue