使用 str::chars 計算字串長度,Rust 的 str::len 回傳的是位元組(byte)的長度, ... in source.chars().enumerate() { for (j, ch2) in target.chars().enumerate() ...
確定! 回上一頁