about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-05-02 11:44:52 +0530
committerGitHub <noreply@github.com>2023-05-02 11:44:52 +0530
commitf47a63ca3dac0467fa42a950a7232e97989fc8b8 (patch)
tree57b626059fa5a3c8de0f6694bab152d14384fb98 /library/std/src
parentbe4f9f5becf15d0319a2862f5e76b7993a56951a (diff)
parentbe413ae527c7b9da1669538abc429fd41f7c57ba (diff)
downloadrust-f47a63ca3dac0467fa42a950a7232e97989fc8b8.tar.gz
rust-f47a63ca3dac0467fa42a950a7232e97989fc8b8.zip
Rollup merge of #110895 - Ayush1325:thread-local-fix, r=thomcc
Remove `all` in target_thread_local cfg

I think it was left there by mistake after the previous refactoring. I just came across it while rebasing to master.
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/sys/common/thread_local/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/common/thread_local/mod.rs b/library/std/src/sys/common/thread_local/mod.rs
index a7528c06c9d..951d509ec95 100644
--- a/library/std/src/sys/common/thread_local/mod.rs
+++ b/library/std/src/sys/common/thread_local/mod.rs
@@ -6,7 +6,7 @@ cfg_if::cfg_if! {
         mod static_local;
         #[doc(hidden)]
         pub use static_local::{Key, thread_local_inner};
-    } else if #[cfg(all(target_thread_local))] {
+    } else if #[cfg(target_thread_local)] {
         #[doc(hidden)]
         mod fast_local;
         #[doc(hidden)]