aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2016-04-22 11:56:25 +1000
committerAndrew Gerrand <adg@golang.org>2016-04-22 02:02:52 +0000
commitb9da173772bb642757acc6a9efd610daad8b3227 (patch)
treebe22ad1d58b8266f007410ccc23fbf796973a1be
parent629c1b9e60abaf556b8f32f4fae3a1663579fb81 (diff)
downloadgolang-id-tour-b9da173772bb642757acc6a9efd610daad8b3227.tar.xz
content: fix formatting issue
Fixes #7 Change-Id: Ifd2bf48ceaa3e61771f7bf38c17b5be7ed0bc197 Reviewed-on: https://go-review.googlesource.com/22361 Reviewed-by: Francesc Campoy Flores <campoy@golang.org>
-rw-r--r--content/flowcontrol.article6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/flowcontrol.article b/content/flowcontrol.article
index e293f59..4adfb65 100644
--- a/content/flowcontrol.article
+++ b/content/flowcontrol.article
@@ -63,9 +63,11 @@ Variables declared by the statement are only in scope until the end of the `if`.
* If and else
-Variables declared inside an `if` short statement are also available inside any of the `else` blocks.
+Variables declared inside an `if` short statement are also available inside any
+of the `else` blocks.
-(Both calls to `pow` are executed and return before `main`'s call to `fmt.Println` begins.)
+(Both calls to `pow` are executed and return before the call to `fmt.Println`
+in `main` begins.)
.play flowcontrol/if-and-else.go