about summary refs log tree commit diff
path: root/src/libstd/sys/common
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2014-12-13 23:06:44 -0500
committerJorge Aparicio <japaricious@gmail.com>2014-12-15 15:33:37 -0500
commit556d971f83ea5950444b0a5b5392cd0040f077f6 (patch)
tree26bd1449ae9625a61a4d9c52ab5050f0c86c376e /src/libstd/sys/common
parent1b97cd338b5d425b24e821e815d84005e38b390a (diff)
downloadrust-556d971f83ea5950444b0a5b5392cd0040f077f6.tar.gz
rust-556d971f83ea5950444b0a5b5392cd0040f077f6.zip
Remove internal uses of `marker::NoCopy`
Diffstat (limited to 'src/libstd/sys/common')
-rw-r--r--src/libstd/sys/common/thread_local.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/sys/common/thread_local.rs b/src/libstd/sys/common/thread_local.rs
index 3eb0e3f46cb..cf56a71d67a 100644
--- a/src/libstd/sys/common/thread_local.rs
+++ b/src/libstd/sys/common/thread_local.rs
@@ -58,7 +58,6 @@
 
 use prelude::*;
 
-use kinds::marker;
 use rustrt::exclusive::Exclusive;
 use sync::atomic::{mod, AtomicUint};
 use sync::{Once, ONCE_INIT};
@@ -100,7 +99,6 @@ pub struct StaticKey {
 /// Inner contents of `StaticKey`, created by the `INIT_INNER` constant.
 pub struct StaticKeyInner {
     key: AtomicUint,
-    nc: marker::NoCopy,
 }
 
 /// A type for a safely managed OS-based TLS slot.
@@ -141,7 +139,6 @@ pub const INIT: StaticKey = StaticKey {
 /// This value allows specific configuration of the destructor for a TLS key.
 pub const INIT_INNER: StaticKeyInner = StaticKeyInner {
     key: atomic::INIT_ATOMIC_UINT,
-    nc: marker::NoCopy,
 };
 
 static INIT_KEYS: Once = ONCE_INIT;