aboutsummaryrefslogtreecommitdiff
path: root/doc/go_spec.html
diff options
context:
space:
mode:
authorDQNEO <dqneoo@gmail.com>2021-05-31 12:15:12 +0900
committerRobert Griesemer <gri@golang.org>2021-06-05 19:51:45 +0000
commitf4901341263adf7fc177e8e5e2e79576b490bb8f (patch)
treeb79aa38fca7ce01592ab352f311b30bd979e791d /doc/go_spec.html
parente3cb3817049ca5e9d96543500b72117f6ca659b8 (diff)
downloadgo-f4901341263adf7fc177e8e5e2e79576b490bb8f.tar.gz
go-f4901341263adf7fc177e8e5e2e79576b490bb8f.zip
spec: improve wording by choosing an official term "keyword"
Replace "reserved word" by "keyword" as the latter is the official term. Change-Id: I9f269759b872026034a9f47e4a761cff2d348ca0 Reviewed-on: https://go-review.googlesource.com/c/go/+/323729 Reviewed-by: Robert Griesemer <gri@golang.org> Trust: Ian Lance Taylor <iant@golang.org> Trust: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'doc/go_spec.html')
-rw-r--r--doc/go_spec.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index e59b3554f2..7a2b3a80f0 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,6 +1,6 @@
<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of Apr 28, 2021",
+ "Subtitle": "Version of Jun 2, 2021",
"Path": "/ref/spec"
}-->
@@ -5020,7 +5020,7 @@ floating point, or string constants in case expressions.
A type switch compares types rather than values. It is otherwise similar
to an expression switch. It is marked by a special switch expression that
has the form of a <a href="#Type_assertions">type assertion</a>
-using the reserved word <code>type</code> rather than an actual type:
+using the keyword <code>type</code> rather than an actual type:
</p>
<pre>