Skip to content

Commit

Permalink
Remove unused reexports
Browse files Browse the repository at this point in the history
These reexports are no longer necessary since we removed the
`static_atomic_ref` macro in 7b6f17e.
  • Loading branch information
yvt committed Nov 1, 2020
1 parent 06d16dd commit 0e3e291
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ pub struct AtomicRef<'a, T: 'a> {
// `#![feature(const_fn)]`
struct Invariant<'a, T: 'a>(&'a mut &'a mut T);

/// Re-export `core` for `static_atomic_ref!` (which may be used in a
/// non-`no_std` crate, where `core` is unavailable).
#[doc(hidden)]
pub use core::{mem as core_mem, ops as core_ops};

/// An internal helper function for converting `Option<&'a T>` values to
/// `*mut T` for storing in the `AtomicUsize`.
const fn from_opt<'a, T>(p: Option<&'a T>) -> *mut T {
Expand Down

0 comments on commit 0e3e291

Please sign in to comment.