diff --git a/src/task/mod.rs b/src/task/mod.rs index 1844cca..7424502 100644 --- a/src/task/mod.rs +++ b/src/task/mod.rs @@ -17,6 +17,7 @@ //! let handle = task::spawn(async { //! 1 + 2 //! }); +//! assert_eq!(handle.await, 3); //! # //! # }) } //! ```