我想弄清楚如何匹配Rust中的String。我最初尝试匹配这样,但我想出Rust不能隐式地从std::string::String转换为&str。fn main() { let stringthing = String::from("c") ...
確定! 回上一頁