From 4254403e385715380753bb0def20fb0398e91ebd Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Wed, 18 Sep 2024 16:08:16 +0200 Subject: [PATCH] im: Fix a typo in the docs --- eyeball-im/src/vector/subscriber.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eyeball-im/src/vector/subscriber.rs b/eyeball-im/src/vector/subscriber.rs index 79e1747..a2d44e2 100644 --- a/eyeball-im/src/vector/subscriber.rs +++ b/eyeball-im/src/vector/subscriber.rs @@ -59,8 +59,9 @@ impl VectorSubscriber { /// Destructure this `VectorSubscriber` into the initial values and a stream /// of `Vec`s. /// - /// Semantically equivalent to calling `.values()` and `.into_stream()` - /// separately, but guarantees that the values are not unnecessarily cloned. + /// Semantically equivalent to calling `.values()` and + /// `.into_batched_stream()` separately, but guarantees that the values + /// are not unnecessarily cloned. pub fn into_values_and_batched_stream(self) -> (Vector, VectorSubscriberBatchedStream) { let Self { values, rx } = self; (values, VectorSubscriberBatchedStream::new(ReusableBoxFuture::new(make_future(rx))))