diff --git a/Cargo.lock b/Cargo.lock index 19f5a24..e725be7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -453,6 +453,13 @@ version = "0.1.0" name = "outro_04" version = "0.1.0" +[[package]] +name = "outro_08" +version = "0.1.0" +dependencies = [ + "tokio", +] + [[package]] name = "overflow" version = "0.1.0" diff --git a/exercises/08_futures/04_future/src/lib.rs b/exercises/08_futures/04_future/src/lib.rs index 9330b72..8dc1c96 100644 --- a/exercises/08_futures/04_future/src/lib.rs +++ b/exercises/08_futures/04_future/src/lib.rs @@ -1,6 +1,7 @@ //! TODO: get the code to compile by **re-ordering** the statements //! in the `example` function. You're not allowed to change the //! `spawner` function nor what each line does in `example`. +//! You can wrap existing statements in blocks `{}` if needed. use std::rc::Rc; use tokio::task::yield_now;