For an unsafe version of this function Rust Program to convert string to int use std::str::FromStr; fn main() { let s = "15"; let x = i32::from_str(s).
確定! 回上一頁