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.
This commit is contained in:
Dylan DPC 2023-05-02 11:44:52 +05:30 committed by GitHub
commit f47a63ca3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)]