nodrop: Fix warning for unused import

This commit is contained in:
bluss
2016-09-06 19:20:14 +02:00
parent e9746bab80
commit 0327b0c164
+1 -2
View File
@@ -33,7 +33,6 @@ pub use imp::NoDrop;
#[cfg(not(feature = "use_union"))]
mod imp {
use std;
use odds::debug_assert_unreachable;
use std::ptr;
use std::mem;
@@ -81,7 +80,7 @@ mod imp {
#[inline]
fn needs_drop<T>() -> bool {
unsafe {
std::intrinsics::needs_drop::<T>()
::std::intrinsics::needs_drop::<T>()
}
}