Skip to content

Commit 92ce516

Browse files
author
Cathal Garvey
committed
Example in Readme omitted pass-by-ref
1 parent 857a125 commit 92ce516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ main.go
281281
)
282282
283283
func main() {
284-
L := lua.NewState(lua.Options{SkipOpenLibs: true})
284+
L := lua.NewState(&lua.Options{SkipOpenLibs: true})
285285
defer L.Close()
286286
for _, loader := range []lua.LGFunction{
287287
lua.OpenLoad, // Must be first!

0 commit comments

Comments
 (0)