2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-26 10:16:49 +00:00

Add a missing assert in a doc example

This commit is contained in:
Stjepan Glavina 2019-09-22 12:16:35 +02:00
parent bfab20da03
commit 797a6b2d90

View file

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