Puzzle 22 | Waiting for Godot |
| [package] |
| name = "waiting_for_godot" |
| version = "0.1.0" |
| edition = "2018" |
| |
| [dependencies] |
| tokio = { version = "1", features = ["full"] } |
| async fn hello() { |
| println!("Hello, World!") |
| } |
| |
| #[tokio::main] |
| pub async fn main() -> Result<(), Box<dyn std::error::Error>> { |
| hello(); |
| Ok(()) |
| } |
Guess the Output | |
---|---|
Try to guess what the output is before moving to the next page. |
The program will not print anything. ...
Get Rust Brain Teasers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.