The Rust Programming Language: Storing UTF-8 Encoded Text with Strings

Steve Klabnik · Carol Nichols · Chris KrychoOnline resourcereference

Compare byte length and character count; avoid arbitrary string indexing.

Open the source ↗

How to study this source

Ideas and questions

Read background definitions when a term blocks the argument. Then return to the source and reconstruct its claim in your own words.

Read alongside, read against