rust lang sleep

235

rust lang sleep -

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

fn main() {
    sleep(Duration::from_millis(2));
}

Comments

Submit
0 Comments