Skip to content

Commit b7e0f59

Browse files
committed
Fix comments.
1 parent 2f5351e commit b7e0f59

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

base64/loader.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package base64
22

33
import (
44
"encoding/base64"
5+
56
lua "github.com/yuin/gopher-lua"
67
)
78

8-
// Preload adds yaml to the given Lua state's package.preload table. After it
9+
// Preload adds base64 to the given Lua state's package.preload table. After it
910
// has been preloaded, it can be loaded using require:
1011
//
11-
// local yaml = require("yaml")
12+
// local base64 = require("base64")
1213
func Preload(L *lua.LState) {
1314
L.PreloadModule("base64", Loader)
1415
}

hex/loader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package hex
22

33
import lua "github.com/yuin/gopher-lua"
44

5-
// Preload adds yaml to the given Lua state's package.preload table. After it
5+
// Preload adds hex to the given Lua state's package.preload table. After it
66
// has been preloaded, it can be loaded using require:
77
//
8-
// local yaml = require("yaml")
8+
// local hex = require("hex")
99
func Preload(L *lua.LState) {
1010
L.PreloadModule("hex", Loader)
1111
}

0 commit comments

Comments
 (0)