Skip to content

Commit 8932cec

Browse files
k-nasataiki-e
andauthored
Update src/stream/stream/flatten.rs
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
1 parent bf3508f commit 8932cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream/stream/flatten.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ where
116116

117117
match futures_core::ready!(this.stream.as_mut().poll_next(cx)) {
118118
None => return Poll::Ready(None),
119-
Some(inner) => *this.frontiter = Some(inner.into_stream()),
119+
Some(inner) => this.frontiter.set(Some(inner.into_stream())),
120120
}
121121
}
122122
}

0 commit comments

Comments
 (0)