Skip to content

Commit 08bc1c6

Browse files
committed
std: fix reference to Option in thread_local macro
1 parent 53e86b9 commit 08bc1c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/common/thread_local/fast_local.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub macro thread_local_inner {
8585
// through `Storage`.
8686
#[thread_local]
8787
static mut VAL: $t = __INIT;
88-
unsafe { Some(&VAL) }
88+
unsafe { $crate::option::Option::Some(&VAL) }
8989
}
9090
}
9191

0 commit comments

Comments
 (0)