Skip to content

Commit beeb0db

Browse files
cuishuanggopherbot
authored andcommitted
all: make function and struct comments match the names
Change-Id: I41c17ff0dd12277b83d45ef6e45b1dd88eb96e7a Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/639555 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent d28cc36 commit beeb0db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sweet/common/profile/profile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func WritePprof(filename string, p *profile.Profile) error {
4040
return nil
4141
}
4242

43-
// ReadDir reads all pprof profiles in dir whose name matches match(name).
43+
// ReadDirPprof reads all pprof profiles in dir whose name matches match(name).
4444
func ReadDirPprof(dir string, match func(string) bool) ([]*profile.Profile, error) {
4545
entries, err := os.ReadDir(dir)
4646
if err != nil {

third_party/biogo-examples/igor/turner/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func (p ByVolume) Len() int { return len(p) }
166166
func (p ByVolume) Less(i, j int) bool { return Volume(p[i]) > Volume(p[j]) }
167167
func (p ByVolume) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
168168

169-
// ByVolume allows a collection of pals.Pile to be sorted by the number
169+
// ByDepth allows a collection of pals.Pile to be sorted by the number
170170
// images in each pile.
171171
type ByDepth []*pals.Pile
172172

0 commit comments

Comments
 (0)