diff options
| author | Andrew Gerrand <adg@golang.org> | 2010-03-29 13:12:08 +1100 |
|---|---|---|
| committer | Andrew Gerrand <adg@golang.org> | 2010-03-29 13:12:08 +1100 |
| commit | d21a66677a8dc9170ac6024bdeb0721aa2ca6041 (patch) | |
| tree | 3eded8115acb551309f51927ccfc7e0b349a5130 | |
| parent | 0f196a7914dd1d87a964e591e3cd73f88d7b59ad (diff) | |
| download | golang-d21a66677a8dc9170ac6024bdeb0721aa2ca6041.tar.gz | |
spec: typo in switch sample code, missing semicolon
Fixes issue 697
R=r
CC=golang-dev
http://codereview.appspot.com/804042
| -rw-r--r-- | doc/go_spec.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index b35af9b03..003bbdc03 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3754,7 +3754,7 @@ case 0, 1, 2, 3: s1() case 4, 5, 6, 7: s2() } -switch x := f() { // missing switch expression means "true" +switch x := f(); { // missing switch expression means "true" case x < 0: return -x default: return x } |
