let mut map: hashmap::HashMap<~str, int> = hashmap::HashMap::new(); // Inserting is fine, I just have to copy the string. map.insert("hello".to_str(), ...
確定! 回上一頁