1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-02-05 18:46:27 +02:00

Add speaker notes to flow control basics (#2498)

Part of #1083.
This commit is contained in:
Martin Geisler 2024-12-06 06:46:35 -05:00 committed by GitHub
parent e4e6b0ce1d
commit be476391f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,12 @@
# Control Flow Basics
{{%segment outline}}
<details>
- We will now cover the many kinds of flow control found in Rust.
- Most of this will be very familiar to what you have seen in other programming
languages.
</details>

View File

@ -15,3 +15,10 @@ fn main() {
}
}
```
<details>
- The `loop` statement works like a `while true` loop. Use it for things like
servers which will serve connections forever.
</details>