blob: 8d663339fa831608b8fa7388831abba23ebed155 [file] [log] [blame] [edit]
//! Spawns a task that says hello.
use async_std::task;
async fn say_hi() {
println!("Hello, world!");
}
fn main() {
task::block_on(say_hi())
}