Skip to content

Commit 82e5fe1

Browse files
committed
str::to_chars -> str::chars
1 parent f5c91d1 commit 82e5fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ iterate over all characters, which `str::chars` helps with), and
13081308
for those that do, many don't need actual characters, and can operate
13091309
on bytes. For algorithms that do really need to index by character,
13101310
there's the option to convert your string to a character vector (using
1311-
`str::to_chars`).
1311+
`str::chars`).
13121312

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

0 commit comments

Comments
 (0)