Skip to content

Commit

Permalink
clarify more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nishanths committed Nov 11, 2021
1 parent a070607 commit b93d955
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exhaustive.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ switch on all these enums.
Skip analysis
To skip checking of a specific switch statement, associate a comment with the
switch statement, like shown in the example below. Note the lack of whitespace
between the comment marker ("//") and the comment text.
To skip checking of a specific switch statement, associate the comment shown in
the example below with the switch statement. Note the lack of whitespace between
the comment marker ("//") and the comment text ("exhaustive:ignore").
//exhaustive:ignore
switch v { ... }
Expand Down

0 comments on commit b93d955

Please sign in to comment.