You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-21 08:19:32 +02:00
Minor fixes to async notes (#607)
* `join!( .., time::sleep(..))` isn't really a "timeout" * Remove suggestion to make `sleep` take `&mut self` I'm not sure what doing so demonstrates. * Update src/async/control-flow/join.md Co-authored-by: rbehjati <razieh@google.com> --------- Co-authored-by: rbehjati <razieh@google.com>
This commit is contained in:
committed by
GitHub
parent
1288d11adb
commit
cce3fff0d0
@ -60,6 +60,4 @@ async fn main() {
|
||||
* Try creating a new sleeper struct that will sleep for a random amount of time
|
||||
and adding it to the Vec.
|
||||
|
||||
* Try making the `sleep` call take `&mut self`.
|
||||
|
||||
</details>
|
||||
|
Reference in New Issue
Block a user