diff options
| author | Rob Pike <r@golang.org> | 2010-06-05 12:06:18 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2010-06-05 12:06:18 -0700 |
| commit | cde2c7763934e3959fedfb03ccf1295e87aca72c (patch) | |
| tree | b1a1fd6ddf6f4ce32fab50d3a86ddf6ca227565a /doc/go_tutorial.txt | |
| parent | 84e0cb8104554f970b826da714fa36f3460554d5 (diff) | |
| download | golang-cde2c7763934e3959fedfb03ccf1295e87aca72c.tar.gz | |
tutorial: fix one-word mistake in echo example
R=rsc, iant
CC=golang-dev
http://codereview.appspot.com/1567041
Diffstat (limited to 'doc/go_tutorial.txt')
| -rw-r--r-- | doc/go_tutorial.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_tutorial.txt b/doc/go_tutorial.txt index 21dffad4f..76dba34ef 100644 --- a/doc/go_tutorial.txt +++ b/doc/go_tutorial.txt @@ -173,7 +173,7 @@ are mandatory. The same applies to the "if" and "switch" statements. Later examples will show some other ways "for" can be written. The body of the loop builds up the string "s" by appending (using "+=") -the flags and separating spaces. After the loop, if the "-n" flag is not +the arguments and separating spaces. After the loop, if the "-n" flag is not set, the program appends a newline. Finally, it writes the result. Notice that "main.main" is a niladic function with no return type. |
