Rust's &str vs String is not like char* vs std::string. The best way to create shallow clone of hashmap is to use it's clone() method.
確定! 回上一頁