async main.

This commit is contained in:
Tom Alexander
2022-04-10 17:09:33 -04:00
parent 8e0ae62fe4
commit b22580bee9

View File

@@ -1,3 +1,5 @@
fn main() { #[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("Hello, world!"); println!("Hello, world!");
Ok(())
} }