Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Easyoakland committed Nov 21, 2023
1 parent 8a265a8 commit a8c5660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use yap::{IntoTokens, TokenLocation, Tokens};

pub(crate) mod str_stream_tokens;

/// Helper trait for defining buffers that can be used to store items in [`StreamTokens`] for [`Token::set_location()`] resets
/// Helper trait for defining buffers that can be used to store items in [`StreamTokens`] for [`Tokens::set_location()`] resets
pub trait StreamTokensBuffer<Item>: Default {
/// Remove n items from the front of the buffer. If buffer has less than `n` elements clear the buffer.
fn drain_front(&mut self, n: usize);
Expand Down

0 comments on commit a8c5660

Please sign in to comment.