Skip to content

Commit

Permalink
Make tests in effects/future.rs compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-Bertholet committed Mar 30, 2023
1 parent 03ba5a6 commit 9023ddc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/effects/future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ where
}
}

#[cfg(test)]
#[cfg(all(test, feature = "alloc"))]
mod tests {
use std::{
use alloc::{sync::Arc, task::Wake};
use core::{
future::Future,
sync::Arc,
task::{Context, Poll, Wake},
task::{Context, Poll},
};

use super::{EffExt, FutureExt};
Expand Down

0 comments on commit 9023ddc

Please sign in to comment.