diff options
author | Robert Griesemer <gri@golang.org> | 2020-01-13 13:01:28 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2020-01-13 21:49:46 +0000 |
commit | 9ead772a921f0792db5630a3485a95c5a10c85df (patch) | |
tree | b54004500d60475f48e39735e6274eb569344dc2 /doc/go_spec.html | |
parent | 5c44cc47c6e868c3b6c800b24e64182bcc213fe6 (diff) | |
download | go-9ead772a921f0792db5630a3485a95c5a10c85df.tar.gz go-9ead772a921f0792db5630a3485a95c5a10c85df.zip |
spec: uniformly format empty interfaces as "interface{}"
Fixes #36526.
Change-Id: Ic51a287579f139422cc1a7b2fb82d6732114b031
Reviewed-on: https://go-review.googlesource.com/c/go/+/214597
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'doc/go_spec.html')
-rw-r--r-- | doc/go_spec.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index 4fff107c9b..953b2d9e68 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ <!--{ "Title": "The Go Programming Language Specification", - "Subtitle": "Version of Dec 13, 2019", + "Subtitle": "Version of Jan 13, 2020", "Path": "/ref/spec" }--> @@ -5279,7 +5279,7 @@ for i, s := range a { } var key string -var val interface {} // element type of m is assignable to val +var val interface{} // element type of m is assignable to val m := map[string]int{"mon":0, "tue":1, "wed":2, "thu":3, "fri":4, "sat":5, "sun":6} for key, val = range m { h(key, val) |