From 1fdff8fd4c4296e2707526c7f2cd2fd78447a7b1 Mon Sep 17 00:00:00 2001 From: Joel Galenson Date: Thu, 1 Apr 2021 16:17:54 -0700 Subject: Upgrade rust/crates/futures-util to 0.3.13 Test: make Change-Id: If826c7778479b9b93d36d70510ced93e411d40e1 --- src/stream/unfold.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/stream/unfold.rs') diff --git a/src/stream/unfold.rs b/src/stream/unfold.rs index 473bb67..e17d465 100644 --- a/src/stream/unfold.rs +++ b/src/stream/unfold.rs @@ -1,3 +1,4 @@ +use super::assert_stream; use crate::unfold_state::UnfoldState; use core::fmt; use core::pin::Pin; @@ -51,10 +52,10 @@ where F: FnMut(T) -> Fut, Fut: Future>, { - Unfold { + assert_stream::(Unfold { f, state: UnfoldState::Value { value: init }, - } + }) } pin_project! { -- cgit v1.2.3