Commit 5a0d50f4 authored by David Symonds's avatar David Symonds

cmd/vet: fix formatting of headings in doc.go.

This will cause godoc to correctly render these docs,
since go/doc.ToHTML requires no punctuation for headings.

Change-Id: Ic95245147d3585f2ccc59d4424fcab17d2a5617b
Reviewed-on: https://go-review.googlesource.com/31319Reviewed-by: default avatarRob Pike <r@golang.org>
parent 4a5b3ef9
...@@ -84,14 +84,14 @@ Flag: -copylocks ...@@ -84,14 +84,14 @@ Flag: -copylocks
Locks that are erroneously passed by value. Locks that are erroneously passed by value.
Tests, benchmarks and documentation examples Tests and documentation examples
Flag: -tests Flag: -tests
Mistakes involving tests including functions with incorrect names or signatures Mistakes involving tests including functions with incorrect names or signatures
and example tests that document identifiers not in the package. and example tests that document identifiers not in the package.
Failure to call the cancelation function returned by context.WithCancel. Failure to call the cancelation function returned by WithCancel
Flag: -lostcancel Flag: -lostcancel
...@@ -137,8 +137,6 @@ complains about arguments that look like format descriptor strings. ...@@ -137,8 +137,6 @@ complains about arguments that look like format descriptor strings.
It also checks for errors such as using a Writer as the first argument of It also checks for errors such as using a Writer as the first argument of
Printf. Printf.
Struct tags
Range loop variables Range loop variables
Flag: -rangeloops Flag: -rangeloops
......
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