Skip to content

Commit

Permalink
doc: fix wiki content error
Browse files Browse the repository at this point in the history
Fixes golang#5898.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11556043
  • Loading branch information
adg committed Jul 22, 2013
1 parent 21b9d14 commit 01cc462
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doc/articles/wiki/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,10 @@ <h2>Data Structures</h2>
{{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>
Expand Down

0 comments on commit 01cc462

Please sign in to comment.