Skip to content

Commit

Permalink
Remove unused "yield_now" import
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwuelker committed May 6, 2024
1 parent 9536527 commit 3ab1207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ use std::time::{Duration, Instant};
#[cfg(feature = "std")]
mod thread {
#[cfg(not(loom))]
pub use std::thread::{current, park, park_timeout, yield_now, Thread};
pub use std::thread::{current, park, park_timeout, Thread};

#[cfg(loom)]
pub use loom::thread::{current, park, yield_now, Thread};
Expand Down

0 comments on commit 3ab1207

Please sign in to comment.