Skip to content

Commit be47639

Browse files
authored
Add speaker notes to flow control basics (#2498)
Part of #1083.
1 parent e4e6b0c commit be47639

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/control-flow-basics.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
# Control Flow Basics
22

33
{{%segment outline}}
4+
5+
<details>
6+
7+
- We will now cover the many kinds of flow control found in Rust.
8+
9+
- Most of this will be very familiar to what you have seen in other programming
10+
languages.
11+
12+
</details>

src/control-flow-basics/loops/loop.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,10 @@ fn main() {
1515
}
1616
}
1717
```
18+
19+
<details>
20+
21+
- The `loop` statement works like a `while true` loop. Use it for things like
22+
servers which will serve connections forever.
23+
24+
</details>

0 commit comments

Comments
 (0)