Skip to content

Commit

Permalink
Merge pull request #162 from CBenoit/uniformize-core-imports
Browse files Browse the repository at this point in the history
fix(derive): uniformize imports of items defined in core
  • Loading branch information
Manishearth authored Dec 16, 2023
2 parents 2a0077f + 9273829 commit b757801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ fn expand_derive_arbitrary(input: syn::DeriveInput) -> Result<TokenStream> {

Ok(quote! {
const _: () = {
std::thread_local! {
::std::thread_local! {
#[allow(non_upper_case_globals)]
static #recursive_count: std::cell::Cell<u32> = std::cell::Cell::new(0);
static #recursive_count: ::core::cell::Cell<u32> = ::core::cell::Cell::new(0);
}

#[automatically_derived]
Expand Down

0 comments on commit b757801

Please sign in to comment.