aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/pprof
diff options
context:
space:
mode:
authorAinar Garipov <gugl.zadolbal@gmail.com>2015-06-11 16:49:38 +0300
committerBrad Fitzpatrick <bradfitz@golang.org>2015-06-11 14:18:57 +0000
commit7f9f70e5b65d116539b5c6ee586ea12988682a4f (patch)
treee5790f78d97cd92a1642ceea499f4bdc963fa49d /src/cmd/pprof
parent15c8ab00e88419b584eefd38ec6ddcdbea3e488c (diff)
downloadgo-7f9f70e5b65d116539b5c6ee586ea12988682a4f.tar.gz
go-7f9f70e5b65d116539b5c6ee586ea12988682a4f.zip
all: fix misprints in comments
These were found by grepping the comments from the go code and feeding the output to aspell. Change-Id: Id734d6c8d1938ec3c36bd94a4dbbad577e3ad395 Reviewed-on: https://go-review.googlesource.com/10941 Reviewed-by: Aamir Khan <syst3m.w0rm@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/pprof')
-rw-r--r--src/cmd/pprof/internal/profile/encode.go2
-rw-r--r--src/cmd/pprof/internal/svg/svg.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/pprof/internal/profile/encode.go b/src/cmd/pprof/internal/profile/encode.go
index 455aca29ff..9e669980a1 100644
--- a/src/cmd/pprof/internal/profile/encode.go
+++ b/src/cmd/pprof/internal/profile/encode.go
@@ -162,7 +162,7 @@ var profileDecoder = []decoder{
pp.Location = append(pp.Location, x)
return decodeMessage(b, x)
},
- // repeasted Function function = 5
+ // repeated Function function = 5
func(b *buffer, m message) error {
x := new(Function)
pp := m.(*Profile)
diff --git a/src/cmd/pprof/internal/svg/svg.go b/src/cmd/pprof/internal/svg/svg.go
index fbde103ef4..04f6ff1870 100644
--- a/src/cmd/pprof/internal/svg/svg.go
+++ b/src/cmd/pprof/internal/svg/svg.go
@@ -17,7 +17,7 @@ var (
svgClose = regexp.MustCompile(`</svg>`)
)
-// Massage enhances the SVG output from DOT to provide bettern
+// Massage enhances the SVG output from DOT to provide better
// panning inside a web browser. It uses the SVGPan library, which is
// included directly.
func Massage(in bytes.Buffer) string {