Skip to content

Commit

Permalink
std: fix reference to Option in thread_local macro
Browse files Browse the repository at this point in the history
  • Loading branch information
joboet committed Sep 25, 2023
1 parent 53e86b9 commit 08bc1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/common/thread_local/fast_local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub macro thread_local_inner {
// through `Storage`.
#[thread_local]
static mut VAL: $t = __INIT;
unsafe { Some(&VAL) }
unsafe { $crate::option::Option::Some(&VAL) }
}
}

Expand Down

0 comments on commit 08bc1c6

Please sign in to comment.