mirror of https://github.com/golang/go.git
doc: fixed spelling on placeholder
"placeholder" (no space) is already used in the spec and seems to be preferred option. Removed space from "place holder".
This commit is contained in:
parent
53c0158905
commit
ed5aaf9d02
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue