File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ macro_rules! thread_local {
178178macro_rules! __thread_local_inner {
179179 // used to generate the `LocalKey` value for const-initialized thread locals
180180 (@key $t:ty, const $init:expr) => {{
181- #[cfg_attr(not(windows), inline(always) )] // see comments below
181+ #[cfg_attr(not(windows), inline)] // see comments below
182182 #[deny(unsafe_op_in_unsafe_fn)]
183183 unsafe fn __getit(
184184 _init: $crate::option::Option<&mut $crate::option::Option<$t>>,
@@ -312,7 +312,7 @@ macro_rules! __thread_local_inner {
312312 // gets the pessimistic path for now where it's never inlined.
313313 //
314314 // The issue of "should enable on Windows sometimes" is #84933
315- #[cfg_attr(not(windows), inline(always) )]
315+ #[cfg_attr(not(windows), inline)]
316316 unsafe fn __getit(
317317 init: $crate::option::Option<&mut $crate::option::Option<$t>>,
318318 ) -> $crate::option::Option<&'static $t> {
You can’t perform that action at this time.
0 commit comments