We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f113c1e commit ad26826Copy full SHA for ad26826
1.9/ja/book/if.md
@@ -20,6 +20,7 @@ Rustにおける `if` の扱いは さほど複雑ではありませんが、伝
20
let x = 5;
21
22
if x == 5 {
23
+# // println!("x is five!");
24
println!("x は 5 です!");
25
}
26
```
@@ -37,8 +38,10 @@ if x == 5 {
37
38
39
40
41
42
43
} else {
44
+# // println!("x is not five :(");
45
println!("x は 5 ではありません :(");
46
47
@@ -50,10 +53,13 @@ if x == 5 {
50
53
51
54
52
55
56
57
58
} else if x == 6 {
59
+# // println!("x is six!");
60
println!("x は 6 です!");
61
62
+# // println!("x is not five or six :(");
63
println!("x は 5 でも 6 でもありません :(");
64
65
0 commit comments