about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-07-12 11:37:11 +0200
committerRalf Jung <post@ralfj.de>2020-07-12 11:46:42 +0200
commit8082fb988a5915e693f18e6d299deaae64834079 (patch)
treed130a0b12b800c15daf7801429dc3b1e374301f1 /src/libstd/thread
parentdaecab3a784f28082df90cebb204998051f3557d (diff)
downloadrust-8082fb988a5915e693f18e6d299deaae64834079.tar.gz
rust-8082fb988a5915e693f18e6d299deaae64834079.zip
rename fast_thread_local -> thread_local_dtor; thread_local -> thread_local_key
Diffstat (limited to 'src/libstd/thread')
-rw-r--r--src/libstd/thread/local.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs
index 094c468a677..ecd6fbc6b93 100644
--- a/src/libstd/thread/local.rs
+++ b/src/libstd/thread/local.rs
@@ -363,7 +363,7 @@ pub mod fast {
     use crate::cell::Cell;
     use crate::fmt;
     use crate::mem;
-    use crate::sys::fast_thread_local::register_dtor;
+    use crate::sys::thread_local_dtor::register_dtor;
 
     #[derive(Copy, Clone)]
     enum DtorState {
@@ -468,7 +468,7 @@ pub mod os {
     use crate::fmt;
     use crate::marker;
     use crate::ptr;
-    use crate::sys_common::thread_local::StaticKey as OsStaticKey;
+    use crate::sys_common::thread_local_key::StaticKey as OsStaticKey;
 
     pub struct Key<T> {
         // OS-TLS key that we'll use to key off.