use std::sync::Mutex; fn main() { let m = Mutex::new(5); //Mutex<i32>, ... cargo build Compiling hello_world v0.1.0 (/data2/rust/mutex2) ...
確定! 回上一頁