]> Cypherpunks repositories - gostls13.git/commitdiff
doc/effective_go: clarify backward function reference
authorIan Lance Taylor <iant@golang.org>
Wed, 18 May 2016 01:07:07 +0000 (18:07 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 18 May 2016 13:17:34 +0000 (13:17 +0000)
Fixes #14656.

Change-Id: I37a9aa51705ae18bd034f2cc6dbf06a55f969197
Reviewed-on: https://go-review.googlesource.com/23202
Reviewed-by: Rob Pike <r@golang.org>
doc/effective_go.html

index 4ea3fae31836e4bd2e764fd525aba4165232aaae..1e66c0c6145faee0cf5a0dfd86c0e21b9a556b03 100644 (file)
@@ -2014,7 +2014,7 @@ then make the receiver for the method a value of that type.
 type ByteSlice []byte
 
 func (slice ByteSlice) Append(data []byte) []byte {
-    // Body exactly the same as above
+    // Body exactly the same as the Append function defined above.
 }
 </pre>
 <p>