Skip to content

Commit

Permalink
str::to_chars -> str::chars
Browse files Browse the repository at this point in the history
  • Loading branch information
j3parker committed Mar 25, 2012
1 parent f5c91d1 commit 82e5fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial.md
Expand Up @@ -1308,7 +1308,7 @@ iterate over all characters, which `str::chars` helps with), and
for those that do, many don't need actual characters, and can operate
on bytes. For algorithms that do really need to index by character,
there's the option to convert your string to a character vector (using
`str::to_chars`).
`str::chars`).

Like vectors, strings are always unique. You can wrap them in a shared
box to share them. Unlike vectors, there is no mutable variant of
Expand Down

0 comments on commit 82e5fe1

Please sign in to comment.