summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Frederick Crisman <daniel@crisman.org>2023-04-13 21:34:31 +0000
committerGopher Robot <gobot@golang.org>2023-04-13 23:15:09 +0000
commite7b04a3e166b47c1591eab13f4a451d939ae8941 (patch)
tree592ed147be84e59a73c9b8c3dc027f281a5220ca /doc
parent11dd32d7290db946ddc28233513de248a116d0ea (diff)
downloadgo-git-e7b04a3e166b47c1591eab13f4a451d939ae8941.tar.gz
doc: correct spelling on placeholder
"placeholder" (no space) is already used in the spec and seems to be the preferred option. Removed space from "place holder". Change-Id: I9b98f62f0e3f5adb019b99f5271cc9d19abf505e GitHub-Last-Rev: ed5aaf9d02c294e87688066f6218e5d58b0f62bf GitHub-Pull-Request: golang/go#59626 Reviewed-on: https://go-review.googlesource.com/c/go/+/484576 Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/go_spec.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 9f685d1f1f..51af33c175 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -2647,7 +2647,7 @@ TypeParamDecl = IdentifierList TypeConstraint .
<p>
All non-blank names in the list must be unique.
Each name declares a type parameter, which is a new and different <a href="#Types">named type</a>
-that acts as a place holder for an (as of yet) unknown type in the declaration.
+that acts as a placeholder for an (as of yet) unknown type in the declaration.
The type parameter is replaced with a <i>type argument</i> upon
<a href="#Instantiations">instantiation</a> of the generic function or type.
</p>