Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouwfang committed Jan 24, 2025
1 parent fa312a3 commit 6825974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ch20-02-advanced-traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ than features explained in the rest of the book but more commonly than many of
the other features discussed in this chapter.

One example of a trait with an associated type is the `Iterator` trait that the
standard library provides. The associated type is named `Item` and stands in
for the type of the values the type implementing the `Iterator` trait is
standard library provides. The associated type is named `Item` and stands for
the type of the values the type implementing the `Iterator` trait is
iterating over. The definition of the `Iterator` trait is as shown in Listing
20-13.

Expand Down

0 comments on commit 6825974

Please sign in to comment.