From e7b04a3e166b47c1591eab13f4a451d939ae8941 Mon Sep 17 00:00:00 2001 From: Daniel Frederick Crisman Date: Thu, 13 Apr 2023 21:34:31 +0000 Subject: [PATCH] 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 TryBot-Result: Gopher Robot Reviewed-by: Robert Griesemer Run-TryBot: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- doc/go_spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .

All non-blank names in the list must be unique. Each name declares a type parameter, which is a new and different named type -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 type argument upon instantiation of the generic function or type.

-- 2.48.1