Skip to content

Commit b757801

Browse files
authored
Merge pull request #162 from CBenoit/uniformize-core-imports
fix(derive): uniformize imports of items defined in core
2 parents 2a0077f + 9273829 commit b757801

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)