rust 1.4+. Duration 和 sleep 已返回并稳定! use std::time::Duration; use std::thread; fn main() { thread::sleep(Duration::from_millis(4000)) }
確定! 回上一頁