We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Option
thread_local
1 parent 53e86b9 commit 08bc1c6Copy full SHA for 08bc1c6
library/std/src/sys/common/thread_local/fast_local.rs
@@ -85,7 +85,7 @@ pub macro thread_local_inner {
85
// through `Storage`.
86
#[thread_local]
87
static mut VAL: $t = __INIT;
88
- unsafe { Some(&VAL) }
+ unsafe { $crate::option::Option::Some(&VAL) }
89
}
90
91
0 commit comments