Skip to content

Commit f113c1e

Browse files
committed
不要な行を削除した
1 parent 6a2bf4a commit f113c1e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

1.9/ja/book/if.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Rustにおける `if` の扱いは さほど複雑ではありませんが、伝
2020
let x = 5;
2121

2222
if x == 5 {
23-
// println!("x is five!");
2423
println!("x は 5 です!");
2524
}
2625
```
@@ -38,10 +37,8 @@ if x == 5 {
3837
let x = 5;
3938

4039
if x == 5 {
41-
// println!("x is five!");
4240
println!("x は 5 です!");
4341
} else {
44-
// println!("x is not five :(");
4542
println!("x は 5 ではありません :(");
4643
}
4744
```
@@ -53,13 +50,10 @@ if x == 5 {
5350
let x = 5;
5451

5552
if x == 5 {
56-
// println!("x is five!");
5753
println!("x は 5 です!");
5854
} else if x == 6 {
59-
// println!("x is six!");
6055
println!("x は 6 です!");
6156
} else {
62-
// println!("x is not five or six :(");
6357
println!("x は 5 でも 6 でもありません :(");
6458
}
6559
```

0 commit comments

Comments
 (0)