Replace futures::future::poll_fn -> core::future::poll_fn.

This commit is contained in:
Dario Nieuwenhuis
2022-09-22 16:42:49 +02:00
parent 897b72c872
commit a0487380da
29 changed files with 34 additions and 43 deletions

View File

@@ -2,11 +2,10 @@
//!
//! This module provides a mutex that can be used to synchronize data between asynchronous tasks.
use core::cell::{RefCell, UnsafeCell};
use core::future::poll_fn;
use core::ops::{Deref, DerefMut};
use core::task::Poll;
use futures_util::future::poll_fn;
use crate::blocking_mutex::raw::RawMutex;
use crate::blocking_mutex::Mutex as BlockingMutex;
use crate::waitqueue::WakerRegistration;