mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-02-05 18:46:27 +02:00
parent
e4e6b0ce1d
commit
be476391f2
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user