diff options
author | Rob Pike <r@golang.org> | 2009-11-12 14:10:16 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-11-12 14:10:16 -0800 |
commit | 8c395778b8e728356a6acad35cb896b0e2391b4c (patch) | |
tree | 2cb9e5e86f31d1f7526ecc987c958f5ba80644ca /doc/progs | |
parent | f03cf6252f322949c2864e93aead4d332f4f616a (diff) | |
download | go-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.go | 2 |
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 |