mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 07:53:40 +00:00
chore: fix function names in comment
Signed-off-by: hongkuang <liurenhong@outlook.com>
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ func joinPath(dir, name string) string {
|
||||
return dir + string(PathSeparator) + name
|
||||
}
|
||||
|
||||
// LastIndexByte from the strings package.
|
||||
// lastIndex from the strings package.
|
||||
func lastIndex(s string, sep byte) int {
|
||||
for i := len(s) - 1; i >= 0; i-- {
|
||||
if s[i] == sep {
|
||||
|
||||
Reference in New Issue
Block a user