diff --git a/examples/if-else/if-else.go b/examples/if-else/if-else.go index 1f2a403..d326b90 100644 --- a/examples/if-else/if-else.go +++ b/examples/if-else/if-else.go @@ -20,8 +20,8 @@ func main() { } // A statement can precede conditionals; any variables - // declared in this statement are available in all - // branches. + // declared in this statement are available in the current + // and all the succeeding branches. if num := 9; num < 0 { fmt.Println(num, "is negative") } else if num < 10 { diff --git a/examples/if-else/if-else.hash b/examples/if-else/if-else.hash index 8f1ebb5..a0aa4b6 100644 --- a/examples/if-else/if-else.hash +++ b/examples/if-else/if-else.hash @@ -1,2 +1,2 @@ -ae7f289ac1b2b1f152cd1952b93769209eed8e1d -QlMkcwHvmns +bbac731541876062076e3dea9a2b536988d7739d +_5PfTs6dNhr diff --git a/public/if-else b/public/if-else index b05329e..1523e8d 100644 --- a/public/if-else +++ b/public/if-else @@ -42,7 +42,7 @@ straight-forward.
package main
A statement can precede conditionals; any variables -declared in this statement are available in all -branches.
+declared in this statement are available in the current +and all the succeeding branches.