Skip to content

Commit

Permalink
Rework imports used solely for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
denisvasilik committed Aug 21, 2020
1 parent 0f6d95d commit 37b6c24
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions library/core/src/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,13 @@
issue = "none"
)]
#![allow(missing_docs)]
#![allow(unused_imports)]

use crate::marker::DiscriminantKind;
use crate::mem;

// These imports are used for simplifying intra-doc links
use crate::sync::atomic;
use crate::sync::atomic::AtomicBool;
use crate::sync::atomic::AtomicI32;
use crate::sync::atomic::AtomicIsize;
use crate::sync::atomic::AtomicU32;
use crate::sync::atomic::Ordering;
#[cfg(doc)]
use crate::sync::atomic::{self, AtomicBool, AtomicI32, AtomicIsize, AtomicU32, Ordering};

#[stable(feature = "drop_in_place", since = "1.8.0")]
#[rustc_deprecated(
Expand Down

0 comments on commit 37b6c24

Please sign in to comment.