]> Cypherpunks repositories - gostls13.git/commitdiff
spec: fix link for instantiations
authorsyumai <syumai@gmail.com>
Sat, 27 Nov 2021 11:16:57 +0000 (11:16 +0000)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Sat, 27 Nov 2021 23:29:50 +0000 (23:29 +0000)
This change corrects the link `Instantiantions` to `Instantiations` in the spec.

Change-Id: Ib0ed03420ae401d20af1ea723c5487018b2f462d
GitHub-Last-Rev: b84316c818b4aba022362fd09fac0d2b85da1a81
GitHub-Pull-Request: golang/go#49816
Reviewed-on: https://go-review.googlesource.com/c/go/+/367274
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
doc/go_spec.html

index b8e6aceee9cd21d54dd61718bbb94f7bf6c3a494..4700548cb25321b0f2b4874f1d521e48e97d954a 100644 (file)
@@ -2883,7 +2883,7 @@ to use. This makes the receiver type parameters available to the method.
 
 <p>
 Syntactically, this type parameter declaration looks like an
-<a href="#Instantiantions">instantiation</a> of the receiver base type, except that
+<a href="#Instantiations">instantiation</a> of the receiver base type, except that
 the type arguments are the type parameters being declared, one for each type parameter
 of the receiver base type.
 The type parameter names do not need to match their corresponding parameter names in the