我試過了 use std::rand::{task_rng, Rng}; fn main() { // a number from [-40.0, 13000.0) let num: f64 = task_rng().gen_range(-40.0, ...
確定! 回上一頁