Skip to content

Commit

Permalink
fix: unused import with alloc enabled
Browse files Browse the repository at this point in the history
This fixes an unused import in the `loom` module when the `alloc`
feature flag is enabled. This should placate CI.
  • Loading branch information
hawkw committed Apr 6, 2024
1 parent a72a286 commit ac1eafc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/loom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ mod inner {
mod inner {
#![allow(dead_code)]
pub(crate) mod sync {
#[allow(unused_imports)]
pub use core::sync::*;

#[cfg(feature = "alloc")]
Expand Down

0 comments on commit ac1eafc

Please sign in to comment.