aboutsummaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
Diffstat (limited to 'src/os')
-rw-r--r--src/os/tempfile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/tempfile.go b/src/os/tempfile.go
index 3be3d13dfb..99f65c625a 100644
--- a/src/os/tempfile.go
+++ b/src/os/tempfile.go
@@ -117,7 +117,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 {