From b2faff18ce28edad98303d2c3134dec1331fd7b5 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Fri, 11 Nov 2022 19:22:35 +0800 Subject: all: add missing periods in comments Change-Id: I69065f8adf101fdb28682c55997f503013a50e29 Reviewed-on: https://go-review.googlesource.com/c/go/+/449757 Auto-Submit: Ian Lance Taylor Reviewed-by: Joedian Reid Reviewed-by: Keith Randall Reviewed-by: Keith Randall TryBot-Result: Gopher Robot Run-TryBot: Joedian Reid Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor --- src/internal/fuzz/coverage.go | 2 +- src/internal/profile/filter.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/internal') diff --git a/src/internal/fuzz/coverage.go b/src/internal/fuzz/coverage.go index 0d96be2f7a..0c5e17e3bb 100644 --- a/src/internal/fuzz/coverage.go +++ b/src/internal/fuzz/coverage.go @@ -67,7 +67,7 @@ func countNewCoverageBits(base, snapshot []byte) int { } // isCoverageSubset returns true if all the base coverage bits are set in -// snapshot +// snapshot. func isCoverageSubset(base, snapshot []byte) bool { for i, v := range base { if v&snapshot[i] != v { diff --git a/src/internal/profile/filter.go b/src/internal/profile/filter.go index 65e50db99d..141dd1f405 100644 --- a/src/internal/profile/filter.go +++ b/src/internal/profile/filter.go @@ -131,7 +131,7 @@ func (p *Profile) FilterSamplesByTag(focus, ignore TagMatch) (fm, im bool) { } // focusedSample checks a sample against focus and ignore regexps. -// Returns whether the focus/ignore regexps match any tags +// Returns whether the focus/ignore regexps match any tags. func focusedSample(s *Sample, focus, ignore TagMatch) (fm, im bool) { fm = focus == nil for key, vals := range s.Label { -- cgit v1.3