Skip to content

Commit

Permalink
all: fix function names
Browse files Browse the repository at this point in the history
Change-Id: Iba8878420c59d705066d1d9955e91a5c2eb4faf5
Reviewed-on: https://go-review.googlesource.com/c/go/+/507615
Reviewed-by: Ian Lance Taylor <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
  • Loading branch information
cuishuang authored and gopherbot committed Oct 14, 2023
1 parent dd491cf commit bc9dc8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/internal/coverage/decodemeta/decodefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (r *CoverageMetaFileReader) CounterMode() coverage.CounterMode {
return r.hdr.CMode
}

// CounterMode returns the counter granularity (single counter per
// CounterGranularity returns the counter granularity (single counter per
// function, or counter per block) selected when building for coverage
// for the program that produce this meta-data file.
func (r *CoverageMetaFileReader) CounterGranularity() coverage.CounterGranularity {
Expand Down
2 changes: 1 addition & 1 deletion src/net/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func initConfVal() {
}
}

// goosPreferCgo reports whether the GOOS value passed in prefers
// goosPrefersCgo reports whether the GOOS value passed in prefers
// the cgo resolver.
func goosPrefersCgo() bool {
switch runtime.GOOS {
Expand Down
2 changes: 1 addition & 1 deletion src/time/zoneinfo_read.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc9dc8d

Please sign in to comment.