]> Cypherpunks repositories - gostls13.git/commitdiff
spec: fix bare & in HTML
authorRob Pike <r@golang.org>
Fri, 26 Jun 2015 01:11:45 +0000 (11:11 +1000)
committerRob Pike <r@golang.org>
Fri, 26 Jun 2015 02:51:30 +0000 (02:51 +0000)
No need to update the date; this is not a spec change.

Change-Id: I10a31234ed985c59e5d9b5328664a36661cef31e
Reviewed-on: https://go-review.googlesource.com/11531
Reviewed-by: Andrew Gerrand <adg@golang.org>
doc/go_spec.html

index 396454dd54101aab9cc9d6cca2c08049d5ebd043..cc01494ff5168fc979db1051657b6cbedda473bd 100644 (file)
@@ -2600,7 +2600,7 @@ q.x          // (*(*q).T0).x        (*q).x is a valid field selector
 
 p.M2()       // p.M2()              M2 expects *T2 receiver
 p.M1()       // ((*p).T1).M1()      M1 expects T1 receiver
-p.M0()       // ((&(*p).T0)).M0()   M0 expects *T0 receiver, see section on Calls
+p.M0()       // ((&amp;(*p).T0)).M0()   M0 expects *T0 receiver, see section on Calls
 </pre>
 
 <p>