Commit 4d02833c authored by Kevin Burke's avatar Kevin Burke Committed by Brad Fitzpatrick

cmd/cover: fix spelling mistake

Change-Id: Iac7c4f22dc55c970940af33e0f0470694da5c4a6
Reviewed-on: https://go-review.googlesource.com/34654Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent a1c835f5
...@@ -399,7 +399,7 @@ func annotate(name string) { ...@@ -399,7 +399,7 @@ func annotate(name string) {
// Retain compiler directives that are not processed in ast.Visitor. // Retain compiler directives that are not processed in ast.Visitor.
// Some compiler directives like "go:linkname" and "go:cgo_" // Some compiler directives like "go:linkname" and "go:cgo_"
// can be not attached to anything in the tree and hence will not be printed by printer. // can be not attached to anything in the tree and hence will not be printed by printer.
// So, we have to explicitely print them here. // So, we have to explicitly print them here.
for cd, handled := range file.directives { for cd, handled := range file.directives {
if !handled { if !handled {
fmt.Fprintln(fd, cd.Text) fmt.Fprintln(fd, cd.Text)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment