Skip to content

Commit

Permalink
docs(tutorial): Be explicit on what Accumulate is
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 25, 2024
1 parent 5523a83 commit df311c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_tutorial/chapter_5.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
//! ```
//!
//! If you look closely at [`repeat`], it isn't collecting directly into a [`Vec`] but
//! [`Accumulate`] to gather the results. This lets us make more complex parsers than we did in
//! anything that implements the [`Accumulate`] trait to gather the results. This lets us make more complex parsers than we did in
//! [`chapter_2`] by accumulating the results into a `()` and [`recognize`][Parser::recognize]-ing the captured input:
//! ```rust
//! # use winnow::prelude::*;
Expand Down

0 comments on commit df311c1

Please sign in to comment.