2.6 Rust Slice Type. tags: Rust. String manipulation. copy code. fn first_word(s: &String) -> usize { let bytes = s.as_bytes(); for (i, ...
確定! 回上一頁