summaryrefslogtreecommitdiff
path: root/doc/effective_go.html
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-11-11 14:52:38 -0800
committerRuss Cox <rsc@golang.org>2009-11-11 14:52:38 -0800
commitd12c0fbe2fbf65e31dedc1e6e78d741cf5d44106 (patch)
tree396d82196d3c4f5c4cbffbc28a4d25c35980a6f3 /doc/effective_go.html
parent426feb24456832cbd1127135a0ba6ad9be17e1c8 (diff)
downloadgolang-d12c0fbe2fbf65e31dedc1e6e78d741cf5d44106.tar.gz
typo
Fixes issue 69. R=r http://codereview.appspot.com/152082
Diffstat (limited to 'doc/effective_go.html')
-rw-r--r--doc/effective_go.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html
index e8acf08df..c4a573a54 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -1467,7 +1467,7 @@ func (p *ByteSlice) Write(data []byte) (n int, err os.Error) {
slice := *p;
// Again as above.
*p = slice;
- return len(data), nil)
+ return len(data), nil;
}
</pre>
<p>