diff --git a/src/ch08-02-strings.md b/src/ch08-02-strings.md index f38803ee3b..e19adc87f4 100644 --- a/src/ch08-02-strings.md +++ b/src/ch08-02-strings.md @@ -320,7 +320,7 @@ index to determine how many valid characters there were. Indexing into a string is often a bad idea because it’s not clear what the return type of the string-indexing operation should be: a byte value, a character, a grapheme cluster, or a string slice. If you really need to use -indices to create string slices, therefore, Rust asks you to be more specific. +indices to create string slices, Rust asks you to be more specific. Rather than indexing using `[]` with a single number, you can use `[]` with a range to create a string slice containing particular bytes: