Add a missing assert in a doc example

pull/224/head
Stjepan Glavina 5 years ago
parent bfab20da03
commit 797a6b2d90

@ -17,6 +17,7 @@
//! let handle = task::spawn(async {
//! 1 + 2
//! });
//! assert_eq!(handle.await, 3);
//! #
//! # }) }
//! ```

Loading…
Cancel
Save