Slight rewording

This commit is contained in:
Eli Bendersky 2022-10-25 06:02:53 -07:00
parent 9ba0fd08de
commit 0650d74678
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ func main() {
// A statement can precede conditionals; any variables
// declared in this statement are available in the current
// and all the succeeding branches.
// and all subsequent branches.
if num := 9; num < 0 {
fmt.Println(num, "is negative")
} else if num < 10 {

View File

@ -1,2 +1,2 @@
bbac731541876062076e3dea9a2b536988d7739d
_5PfTs6dNhr
d6a962236fc1296684cd1ffb2d95d131ed84abde
U7xcpdutgCJ

4
public/if-else generated
View File

@ -42,7 +42,7 @@ straight-forward.</p>
</td>
<td class="code leading">
<a href="https://go.dev/play/p/_5PfTs6dNhr"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<a href="https://go.dev/play/p/U7xcpdutgCJ"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<pre class="chroma"><span class="kn">package</span> <span class="nx">main</span>
</pre>
</td>
@ -106,7 +106,7 @@ straight-forward.</p>
<td class="docs">
<p>A statement can precede conditionals; any variables
declared in this statement are available in the current
and all the succeeding branches.</p>
and all subsequent branches.</p>
</td>
<td class="code leading">