Skip to content

Commit 0a30736

Browse files
committed
doc: fix some typos in the Guide
1 parent 5ad7afc commit 0a30736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,8 +1507,8 @@ pub trait StrSlice<'a> {
15071507
///
15081508
/// # Example
15091509
///
1510-
/// This example manually iterate through the characters of a
1511-
/// string; this should normally by done by `.chars()` or
1510+
/// This example manually iterates through the characters of a
1511+
/// string; this should normally be done by `.chars()` or
15121512
/// `.char_indices`.
15131513
///
15141514
/// ```rust

0 commit comments

Comments
 (0)