Skip to content

Commit

Permalink
Add #[inline] back on __getit (fixes #25088)
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Apr 26, 2018
1 parent 3eca70a commit 89f3970
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/thread/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ macro_rules! __thread_local_inner {
#[inline]
fn __init() -> $t { $init }

#[inline]
unsafe fn __getit() -> $crate::option::Option<
&'static $crate::cell::UnsafeCell<
$crate::option::Option<$t>>>
Expand Down

0 comments on commit 89f3970

Please sign in to comment.