Comment Comment by sjustinas A Rust String is encoded as UTF-8, it is not an array of char-s. You can get an iterator over individual codepoints using the chars() method.https://doc.rust-lang.org/std/string/struct.String.html#meth... parent sjustinas 6 years ago
https://doc.rust-lang.org/std/string/struct.String.html#meth...