Skip to content

Commit

Permalink
doc: fix typo in tutorial
Browse files Browse the repository at this point in the history
PR #201
  • Loading branch information
efx authored May 22, 2020
1 parent e1578eb commit f0f53a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tutorial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ To understand the type signature, we can break it down piece by piece.
2. `self` is a special parameter that corresponds to the `Writer` itself.
3. `record` is the CSV record we'd like to write. Its type is `I`, which is
a generic type.
4. In the method's `where` clause, the `I` type is contrained by the
4. In the method's `where` clause, the `I` type is constrained by the
`IntoIterator<Item=T>` bound. What that means is that `I` must satisfy the
`IntoIterator` trait. If you look at the documentation of the
[`IntoIterator` trait](https://doc.rust-lang.org/std/iter/trait.IntoIterator.html),
Expand Down

0 comments on commit f0f53a4

Please sign in to comment.