Skip to content

Commit 841b2a6

Browse files
committed
fix
1 parent 1852711 commit 841b2a6

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

src/ch03-03-how-functions-work.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,6 @@ look like in Rust:
120120
{{#rustdoc_include ../listings/ch03-common-programming-concepts/no-listing-17-functions-with-parameters/src/main.rs}}
121121
```
122122

123-
```rust
124-
fn main() {
125-
another_function(5);
126-
}
127-
128-
fn another_function(x: i32) {
129-
println!("The value of x is: {}", x); // xの値は{}です
130-
}
131-
```
132-
133123
<!--
134124
Try running this program; you should get the following output:
135125
-->

src/ch03-05-control-flow.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -381,13 +381,6 @@ like this:
381381
```rust,ignore
382382
{{#rustdoc_include ../listings/ch03-common-programming-concepts/no-listing-32-loop/src/main.rs}}
383383
```
384-
```rust,ignore
385-
fn main() {
386-
loop {
387-
println!("again!"); // また
388-
}
389-
}
390-
```
391384

392385
<!--
393386
When we run this program, we’ll see `again!` printed over and over continuously

0 commit comments

Comments
 (0)