From 0e4429a41d0e582a4d8768aceb66c5b88cbbdd60 Mon Sep 17 00:00:00 2001 From: David Koloski Date: Wed, 24 Nov 2021 11:40:22 -0500 Subject: [PATCH] Fix unused import warning, release 0.3.4 --- Cargo.toml | 2 +- src/impl_struct.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b9de4b3..2524443 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rend" -version = "0.3.3" +version = "0.3.4" authors = ["David Koloski "] edition = "2018" description = "Endian-aware primitives for Rust" diff --git a/src/impl_struct.rs b/src/impl_struct.rs index abda1e8..106d36f 100644 --- a/src/impl_struct.rs +++ b/src/impl_struct.rs @@ -1,3 +1,4 @@ +#[cfg(has_atomics)] use ::core::sync::atomic::Ordering; #[cfg(has_atomics)]