1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-27 01:37:42 +02:00

local-channel: drop futures-util by using future::poll_fn from std (#490)

This commit is contained in:
Paolo Barbolini
2023-09-17 13:45:55 +02:00
committed by GitHub
parent 14272a1762
commit bfeb4cd9e7
2 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,7 @@ use alloc::{collections::VecDeque, rc::Rc};
use core::{
cell::RefCell,
fmt,
future::poll_fn,
pin::Pin,
task::{Context, Poll},
};
@ -11,7 +12,6 @@ use std::error::Error;
use futures_core::stream::Stream;
use futures_sink::Sink;
use futures_util::future::poll_fn;
use local_waker::LocalWaker;
/// Creates a unbounded in-memory channel with buffered storage.