]> Cypherpunks repositories - gostls13.git/commitdiff
spec: improve wording consistency by eliminating "specifier"
authorDQNEO <dqneoo@gmail.com>
Mon, 31 May 2021 03:33:28 +0000 (12:33 +0900)
committerRobert Griesemer <gri@golang.org>
Sat, 5 Jun 2021 19:52:26 +0000 (19:52 +0000)
The word "specifier" is used once only here and technically not defined.

Change-Id: Ifc9f0582f4eb3c3011ba60d8008234de511d4be6
Reviewed-on: https://go-review.googlesource.com/c/go/+/323730
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: Ian Lance Taylor <iant@golang.org>
Trust: Robert Griesemer <gri@golang.org>

doc/go_spec.html

index 7a2b3a80f0cc79d778264c4717390d05f9c3c4b8..561d44271a258035df266806249e20f845ed5fcc 100644 (file)
@@ -4909,7 +4909,7 @@ if x := f(); x &lt; y {
 
 <p>
 "Switch" statements provide multi-way execution.
-An expression or type specifier is compared to the "cases"
+An expression or type is compared to the "cases"
 inside the "switch" to determine which branch
 to execute.
 </p>