Skip to content

Commit 571a60d

Browse files
committed
fix diff direction
1 parent bd583d2 commit 571a60d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

rust-src.diff

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs
2-
index 555b2130dee..479669647c1 100644
2+
index 479669647c1..555b2130dee 100644
33
--- a/library/std/src/thread/mod.rs
44
+++ b/library/std/src/thread/mod.rs
5-
@@ -203,18 +203,8 @@
5+
@@ -203,8 +203,18 @@
66

77
#[unstable(feature = "libstd_thread_internals", issue = "none")]
88
#[cfg(target_thread_local)]
9-
-#[cfg(not(test))]
9+
+#[cfg(not(test))]
1010
#[doc(hidden)]
1111
pub use self::local::fast::Key as __FastLocalKeyInner;
12-
-#[unstable(feature = "libstd_thread_internals", issue = "none")]
13-
-#[cfg(target_thread_local)]
14-
-#[cfg(test)] // when building for tests, use real std's key
15-
-pub use realstd::thread::__FastLocalKeyInner;
16-
-#[unstable(feature = "libstd_thread_internals", issue = "none")]
17-
-#[cfg(target_thread_local)]
18-
-#[cfg(test)]
19-
-pub use self::local::fast::Key as __FastLocalKeyInnerUnused; // we import this anyway to silence 'unused' warnings
20-
-
12+
+#[unstable(feature = "libstd_thread_internals", issue = "none")]
13+
+#[cfg(target_thread_local)]
14+
+#[cfg(test)] // when building for tests, use real std's key
15+
+pub use realstd::thread::__FastLocalKeyInner;
16+
+#[unstable(feature = "libstd_thread_internals", issue = "none")]
17+
+#[cfg(target_thread_local)]
18+
+#[cfg(test)]
19+
+pub use self::local::fast::Key as __FastLocalKeyInnerUnused; // we import this anyway to silence 'unused' warnings
20+
+
2121
#[unstable(feature = "libstd_thread_internals", issue = "none")]
2222
#[doc(hidden)]
2323
pub use self::local::os::Key as __OsLocalKeyInner;

0 commit comments

Comments
 (0)