Skip to content

Commit

Permalink
Fix #362
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 26, 2024
1 parent 5ed5d8a commit f27b805
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/task.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
use core::cell::Cell;
#[cfg(feature = "alloc")]
use core::future::Future;
use core::num::NonZeroU32;
#[cfg(feature = "alloc")]
use core::pin::pin;
use core::pin::Pin;
use core::ptr::{self, NonNull};
use core::sync::atomic::{AtomicBool, Ordering};
#[cfg(feature = "alloc")]
use core::task::{Context, Poll};

#[cfg(feature = "alloc")]
Expand Down Expand Up @@ -263,7 +260,7 @@ where

let notification = notification::Notification::new();

let mut fut = pin!(fut);
let mut fut = core::pin::pin!(fut);

let waker = notification.notifier().into();

Expand Down

0 comments on commit f27b805

Please sign in to comment.