Update guidance in 08/04.

This commit is contained in:
LukeMathWalker 2024-05-16 10:04:49 +02:00
parent f671914dfb
commit 804b275b06
2 changed files with 8 additions and 0 deletions

7
Cargo.lock generated
View File

@ -453,6 +453,13 @@ version = "0.1.0"
name = "outro_04" name = "outro_04"
version = "0.1.0" version = "0.1.0"
[[package]]
name = "outro_08"
version = "0.1.0"
dependencies = [
"tokio",
]
[[package]] [[package]]
name = "overflow" name = "overflow"
version = "0.1.0" version = "0.1.0"

View File

@ -1,6 +1,7 @@
//! TODO: get the code to compile by **re-ordering** the statements //! TODO: get the code to compile by **re-ordering** the statements
//! in the `example` function. You're not allowed to change the //! in the `example` function. You're not allowed to change the
//! `spawner` function nor what each line does in `example`. //! `spawner` function nor what each line does in `example`.
//! You can wrap existing statements in blocks `{}` if needed.
use std::rc::Rc; use std::rc::Rc;
use tokio::task::yield_now; use tokio::task::yield_now;