Skip to content

Commit

Permalink
order things more traditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jun 24, 2019
1 parent 8a4573f commit 4159b27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
issue = "0")]
#![allow(missing_docs)]

use crate::mem;

#[stable(feature = "drop_in_place", since = "1.8.0")]
#[rustc_deprecated(reason = "no longer an intrinsic - use `ptr::drop_in_place` directly",
since = "1.18.0")]
pub use crate::ptr::drop_in_place;

use crate::mem;

extern "rust-intrinsic" {
// N.B., these intrinsics take raw pointers because they mutate aliased
// memory, which is not valid for either `&` or `&mut`.
Expand Down

0 comments on commit 4159b27

Please sign in to comment.