同樣地,我們的範例程式碼用到rand 套件,需於Cargo.toml 中加入相關內容。 這裡附上範例程式碼,以供參考:. // Call rand library extern crate rand; use rand::Rng; fn ...
確定! 回上一頁