Skip to content

Commit

Permalink
Reference flush instead of finnish in ConsumerState::Break doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tyilo committed Sep 20, 2024
1 parent a79d3df commit b5af6ea
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 b5af6ea

Please sign in to comment.