When a Rust program starts, its main function runs in the main thread. ... Foo(1); // Error: `foo` does not live long enough. std::thread::spawn(|| println!
確定! 回上一頁