In Rust, it's more common to pass slices as arguments rather than vectors when you just want to provide read access. The same goes for String and &str .
確定! 回上一頁