Skip to content

Commit

Permalink
chore(ci): remove warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Jun 21, 2024
1 parent fc3fbaa commit ed26239
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions any_spawner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,11 @@ impl Executor {

#[cfg(test)]
mod tests {
use crate::Executor;
use std::rc::Rc;

#[cfg(feature = "futures-executor")]
#[test]
fn can_spawn_local_future() {
use crate::Executor;
use std::rc::Rc;
Executor::init_futures_executor().expect("couldn't set executor");
let rc = Rc::new(());
Executor::spawn_local(async {
Expand Down

0 comments on commit ed26239

Please sign in to comment.