From b5af6ea25e1043e5e1dc6e400d022195697dd139 Mon Sep 17 00:00:00 2001 From: Asger Hautop Drewsen Date: Fri, 20 Sep 2024 12:24:33 +0200 Subject: [PATCH] Reference flush instead of finnish in ConsumerState::Break doc --- src/concurrent_stream/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/concurrent_stream/mod.rs b/src/concurrent_stream/mod.rs index c599fac..ff79bc6 100644 --- a/src/concurrent_stream/mod.rs +++ b/src/concurrent_stream/mod.rs @@ -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,