如何将Vec<u64>转换为Vec<(&str, u64)>,使前者的索引嵌入到后者的str部分中?我尝试过一些显而易见的事情,比如循环和推: let my_vec: Vec<u64> = vec![4, 9, 3]; for (k, v) in my_vec.iter().enumerate(result, [(&qu
为什么罗斯特的u64本原需要一个u32指数?return root.pow(self.secret) % prime;
| ^^^^^^^^^^^ expected u32, found u64help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit