Skip to content

Commit

Permalink
Fix missing leading double colon on core imports
Browse files Browse the repository at this point in the history
  • Loading branch information
djkoloski committed Jul 31, 2021
1 parent b0df0de commit 0b0e500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bytecheck_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ fn derive_check_bytes(mut input: DeriveInput) -> Result<TokenStream, Error> {

Ok(quote! {
const _: () = {
use core::{convert::Infallible, marker::PhantomData};
use ::core::{convert::Infallible, marker::PhantomData};
use bytecheck::{
CheckBytes,
EnumCheckError,
Expand Down

0 comments on commit 0b0e500

Please sign in to comment.