1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:14:40 -07:00

runtime/pprof: fix doc typo

Change-Id: I6e814182d89c3e7ff184141af097af0afb844d00
Reviewed-on: https://go-review.googlesource.com/78620
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Davor Kapsa 2017-11-18 20:48:08 +01:00 committed by Brad Fitzpatrick
parent 962834dd14
commit 83634e9cf2

View File

@ -18,7 +18,7 @@
// To add equivalent profiling support to a standalone program, add // To add equivalent profiling support to a standalone program, add
// code like the following to your main function: // 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`") // var memprofile = flag.String("memprofile", "", "write memory profile to `file`")
// //
// func main() { // func main() {