Skip to content

Commit 89f3970

Browse files
committed
Add #[inline] back on __getit (fixes #25088)
1 parent 3eca70a commit 89f3970

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/thread/local.rs

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ macro_rules! __thread_local_inner {
168168
#[inline]
169169
fn __init() -> $t { $init }
170170

171+
#[inline]
171172
unsafe fn __getit() -> $crate::option::Option<
172173
&'static $crate::cell::UnsafeCell<
173174
$crate::option::Option<$t>>>

0 commit comments

Comments
 (0)