We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf25519 + 1efc60f commit 953085cCopy full SHA for 953085c
src/future.rs
@@ -431,7 +431,7 @@ where
431
St: Stream<Item = T>,
432
{
433
use crate::stream::next;
434
- futures::stream::unfold((Some(future), None), async move |(future, stream)| {
+ crate::stream::unfold((Some(future), None), async move |(future, stream)| {
435
match (future, stream) {
436
(Some(future), None) => {
437
let stream = future.await;
@@ -470,7 +470,7 @@ pub fn into_stream<Fut>(future: Fut) -> impl Stream<Item = Fut::Output>
470
where
471
Fut: Future,
472
473
- futures::stream::unfold(Some(future), async move |future| {
+ crate::stream::unfold(Some(future), async move |future| {
474
if let Some(future) = future {
475
let item = future.await;
476
Some((item, (None)))
0 commit comments