Answers for "sleep command rust"

1

rust lang sleep

use std::time::Duration;
use std::thread::sleep;

fn main() {
    sleep(Duration::from_millis(2));
}
Posted by: Guest on April-18-2021

Browse Popular Code Answers by Language