Skip to content

Commit

Permalink
avoid using std where we need no_std support
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Sep 17, 2024
1 parent bb36a49 commit c2933e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub(crate) fn inner(input: DeriveInput) -> Result<TokenStream2> {

Ok(quote! {
#[automatically_derived]
impl #impl_generics ::std::error::Error for #ident_name #ty_generics #where_clause {
impl #impl_generics ::core::error::Error for #ident_name #ty_generics #where_clause {
}

#[automatically_derived]
Expand Down

0 comments on commit c2933e9

Please sign in to comment.