diff options
author | Andrew Gerrand <adg@golang.org> | 2013-05-03 15:24:05 -0400 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-05-03 15:24:05 -0400 |
commit | 48c4a87a94652898653c24f0b7a6e58f76fffa6b (patch) | |
tree | 3c1a1bdb0d5adfcf8dd5a02c5c2b3ade0c09c503 | |
parent | 988236ba86c8cb7ceb027cd2eaf091b4363f20e2 (diff) | |
download | go-48c4a87a94652898653c24f0b7a6e58f76fffa6b.tar.gz go-48c4a87a94652898653c24f0b7a6e58f76fffa6b.zip |
doc: fix formatting in effective go code snippet
Fixes #5403.
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/9100046
-rw-r--r-- | doc/effective_go.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html index e546c083b6..227659ef4c 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -1805,7 +1805,7 @@ is different from our custom <code>Append</code> function above. Schematically, it's like this: </p> <pre> -func append(slice []<i>T</i>, elements...<i>T</i>) []<i>T</i> +func append(slice []<i>T</i>, elements ...<i>T</i>) []<i>T</i> </pre> <p> where <i>T</i> is a placeholder for any given type. You can't |