Skip to content

Commit

Permalink
Merge pull request #194 from tyilo/finish-to-flush
Browse files Browse the repository at this point in the history
Reference flush instead of finnish in ConsumerState::Break doc
  • Loading branch information
yoshuawuyts authored Sep 23, 2024
2 parents 8b8a565 + 4d50331 commit bfbe99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrent_stream/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ pub trait ConcurrentStream {
/// The state of the consumer, used to communicate back to the source.
#[derive(Debug)]
pub enum ConsumerState {
/// The consumer is done making progress, and the `finish` method should be called.
/// The consumer is done making progress, and the `flush` method should be called.
Break,
/// The consumer is ready to keep making progress.
Continue,
Expand Down

0 comments on commit bfbe99c

Please sign in to comment.