aboutsummaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-07-03 13:41:45 +0800
committerGopher Robot <gobot@golang.org>2023-10-14 22:30:23 +0000
commitbc9dc8d415fc1ecf8d0d63a01dd17b2b60bf4cf3 (patch)
tree462b2d6341ea6be04023863ad42b80e10d129fd6 /src/time
parentdd491cfa544ff99e2530cd42750eaf318ec1e060 (diff)
downloadgo-bc9dc8d415fc1ecf8d0d63a01dd17b2b60bf4cf3.tar.gz
go-bc9dc8d415fc1ecf8d0d63a01dd17b2b60bf4cf3.zip
all: fix function names
Change-Id: Iba8878420c59d705066d1d9955e91a5c2eb4faf5 Reviewed-on: https://go-review.googlesource.com/c/go/+/507615 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/time')
-rw-r--r--src/time/zoneinfo_read.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/zoneinfo_read.go b/src/time/zoneinfo_read.go
index 4d0e47d890..707dd1189d 100644
--- a/src/time/zoneinfo_read.go
+++ b/src/time/zoneinfo_read.go
@@ -90,7 +90,7 @@ func (d *dataIO) byte() (n byte, ok bool) {
return p[0], true
}
-// read returns the read of the data in the buffer.
+// rest returns the rest of the data in the buffer.
func (d *dataIO) rest() []byte {
r := d.p
d.p = nil