Skip to content

Commit

Permalink
Fix collect docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdw committed Nov 14, 2023
1 parent 7e5aa4c commit db2b841
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,7 @@ pub trait Tokens: Sized {

/// Collect up all of the tokens into something that implements
/// [`FromIterator`]. If you'd like to call `str::parse` on the
/// subsequent collection, then prefer [`Tokens::parse`], which ca
/// # Examplen
/// subsequent collection, then prefer [`Tokens::parse`], which can
/// be more optimal in some cases.
///
/// This is just a shorthand for calling `toks.as_iter().collect()`.
Expand Down

0 comments on commit db2b841

Please sign in to comment.