]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix wiki content error
authorAndrew Gerrand <adg@golang.org>
Mon, 22 Jul 2013 02:22:14 +0000 (12:22 +1000)
committerAndrew Gerrand <adg@golang.org>
Mon, 22 Jul 2013 02:22:14 +0000 (12:22 +1000)
Fixes #5898.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11556043

doc/articles/wiki/index.html

index ea3507f4df362e485412645f77ba00726841fb54..5d290a2acc19c7e404ad856dba60c709394f27d3 100644 (file)
@@ -128,11 +128,10 @@ In addition to saving pages, we will want to load pages, too:
 {{code "doc/articles/wiki/part1-noerror.go" `/^func loadPage/` `/^}/`}}
 
 <p>
-The function <code>loadPage</code> constructs the file name from
-the title parameter, reads the file's contents into a new
-variable <code>body</code>, and returns two values: a pointer to a
-<code>Page</code> literal constructed with the proper title and body
-values and <code>nil</code> for the error value.
+The function <code>loadPage</code> constructs the file name from the title
+parameter, reads the file's contents into a new variable <code>body</code>, and
+returns a pointer to a <code>Page</code> literal constructed with the proper
+title and body values.
 </p>
 
 <p>