Skip to content

Commit

Permalink
remove: redundant sentence (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
shirakiyo authored May 6, 2022
1 parent a5830ae commit 6e7643e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions style.md
Original file line number Diff line number Diff line change
Expand Up @@ -2598,8 +2598,6 @@ var _e error = F()
Prefix unexported top-level `var`s and `const`s with `_` to make it clear when
they are used that they are global symbols.

Exception: Unexported error values, which should be prefixed with `err`.

Rationale: Top-level variables and constants have a package scope. Using a
generic name makes it easy to accidentally use the wrong value in a different
file.
Expand Down

0 comments on commit 6e7643e

Please sign in to comment.