diff options
| author | cui fliter <imcusg@gmail.com> | 2023-02-14 22:42:38 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-02-14 16:27:39 +0000 |
| commit | 117fe2e08d2fb385e4febed020b834d2d8e4358a (patch) | |
| tree | 835378bc287facdc4a7f938fb4a071f5da0016cb /src/os | |
| parent | b146d7626f869901f9dd841b9253e89a227c6465 (diff) | |
| download | go-117fe2e08d2fb385e4febed020b834d2d8e4358a.tar.xz | |
all: fix some comments
Change-Id: I16ec916b47de2f417b681c8abff5a1375ddf491b
Reviewed-on: https://go-review.googlesource.com/c/go/+/468055
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/os')
| -rw-r--r-- | src/os/tempfile.go | 2 |
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 { |
