Skip to content

Commit bfbe99c

Browse files
authored
Merge pull request #194 from tyilo/finish-to-flush
Reference flush instead of finnish in ConsumerState::Break doc
2 parents 8b8a565 + 4d50331 commit bfbe99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/concurrent_stream/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ pub trait ConcurrentStream {
192192
/// The state of the consumer, used to communicate back to the source.
193193
#[derive(Debug)]
194194
pub enum ConsumerState {
195-
/// The consumer is done making progress, and the `finish` method should be called.
195+
/// The consumer is done making progress, and the `flush` method should be called.
196196
Break,
197197
/// The consumer is ready to keep making progress.
198198
Continue,

0 commit comments

Comments
 (0)