Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created December 28, 2018 08:50
Show Gist options
  • Save rust-play/37f48b637b98652ed4a82498335c7533 to your computer and use it in GitHub Desktop.
Save rust-play/37f48b637b98652ed4a82498335c7533 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
use std::thread::sleep;
use std::time::Duration;
fn main() {
sleep(Duration::from_secs(3));
println!("Hello world!");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment