Skip to content

Commit 9273829

Browse files
committed
fix(derive): uniformize imports defined in core
1 parent 2a0077f commit 9273829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

derive/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ fn expand_derive_arbitrary(input: syn::DeriveInput) -> Result<TokenStream> {
5555

5656
Ok(quote! {
5757
const _: () = {
58-
std::thread_local! {
58+
::std::thread_local! {
5959
#[allow(non_upper_case_globals)]
60-
static #recursive_count: std::cell::Cell<u32> = std::cell::Cell::new(0);
60+
static #recursive_count: ::core::cell::Cell<u32> = ::core::cell::Cell::new(0);
6161
}
6262

6363
#[automatically_derived]

0 commit comments

Comments
 (0)