async main.
This commit is contained in:
parent
8e0ae62fe4
commit
b22580bee9
@ -1,3 +1,5 @@
|
||||
fn main() {
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
println!("Hello, world!");
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user