]> Cypherpunks repositories - gostls13.git/commitdiff
doc: correct spelling on placeholder
authorDaniel Frederick Crisman <daniel@crisman.org>
Thu, 13 Apr 2023 21:34:31 +0000 (21:34 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 13 Apr 2023 23:15:09 +0000 (23:15 +0000)
"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>

doc/go_spec.html

index 9f685d1f1fb15e984097df473d5c131a6b875cdc..51af33c1758deeeb3c50e8c92ab043fd8cc5a5f3 100644 (file)
@@ -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>