aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorDavor Kapsa <davor.kapsa@gmail.com>2017-11-18 20:48:08 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2017-11-18 20:40:15 +0000
commit83634e9cf2fb7bf1d45737589291da8bdbee132b (patch)
tree9da90014fde28ed76a60f28842f540db8f6cd929 /src/runtime
parent962834dd143311f764d331417fc208ce2045c61a (diff)
downloadgo-83634e9cf2fb7bf1d45737589291da8bdbee132b.tar.xz
runtime/pprof: fix doc typo
Change-Id: I6e814182d89c3e7ff184141af097af0afb844d00 Reviewed-on: https://go-review.googlesource.com/78620 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/pprof/pprof.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/pprof/pprof.go b/src/runtime/pprof/pprof.go
index 81681be721..f76dde28d4 100644
--- a/src/runtime/pprof/pprof.go
+++ b/src/runtime/pprof/pprof.go
@@ -18,7 +18,7 @@
// To add equivalent profiling support to a standalone program, add
// code like the following to your main function:
//
-// var cpuprofile = flag.String("cpuprofile", "", "write cpu profile `file`")
+// var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`")
// var memprofile = flag.String("memprofile", "", "write memory profile to `file`")
//
// func main() {