summaryrefslogtreecommitdiff
path: root/doc/progs
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-11-12 14:10:16 -0800
committerRob Pike <r@golang.org>2009-11-12 14:10:16 -0800
commit8c395778b8e728356a6acad35cb896b0e2391b4c (patch)
tree2cb9e5e86f31d1f7526ecc987c958f5ba80644ca /doc/progs
parentf03cf6252f322949c2864e93aead4d332f4f616a (diff)
downloadgo-8c395778b8e728356a6acad35cb896b0e2391b4c.tar.gz
add a paragraph about semicolons to the tutorial.
fix a typo caught by kakugawa@gmail.com Fixes issue 92. R=rsc CC=golang-dev http://codereview.appspot.com/152105
Diffstat (limited to 'doc/progs')
-rw-r--r--doc/progs/echo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/progs/echo.go b/doc/progs/echo.go
index 26a2f68b5..4761c1e97 100644
--- a/doc/progs/echo.go
+++ b/doc/progs/echo.go
@@ -23,7 +23,7 @@ func main() {
if i > 0 {
s += Space
}
- s += flag.Arg(i)
+ s += flag.Arg(i);
}
if !*omitNewline {
s += Newline