]> Cypherpunks.ru repositories - gostls13.git/blobdiff - doc/go_spec.html
spec: correct type parameter name used in example
[gostls13.git] / doc / go_spec.html
index 301fdb3cf1cbbfaddc2fc01416eac921bd76125d..a65e466fe4ee5ff0664764670ea6a6998cd398a7 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of Aug 17, 2023",
+       "Subtitle": "Version of Aug 18, 2023",
        "Path": "/ref/spec"
 }-->
 
@@ -4491,7 +4491,7 @@ the type parameters of the functions that need to be instantiated
 and for which no explicit type arguments is provided.
 These type parameters are called <i>bound</i> type parameters.
 For instance, in the <code>dedup</code> example above, the type parameters
-<code>P</code> and <code>E</code> are bound to <code>dedup</code>.
+<code>S</code> and <code>E</code> are bound to <code>dedup</code>.
 An argument to a generic function call may be a generic function itself.
 The type parameters of that function are included in the set of bound
 type parameters.