From 1a60ffacf24d999696b6b7b041e24b09eef8b357 Mon Sep 17 00:00:00 2001 From: Daniel P H Fox Date: Sat, 19 Aug 2023 21:16:27 +0100 Subject: [PATCH] Fix inaccurate code example --- rfcs/syntax-static-imports.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rfcs/syntax-static-imports.md b/rfcs/syntax-static-imports.md index 2aaf49d7..f3f5bcae 100644 --- a/rfcs/syntax-static-imports.md +++ b/rfcs/syntax-static-imports.md @@ -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