Skip to content

Commit c2933e9

Browse files
committed
avoid using std where we need no_std support
1 parent bb36a49 commit c2933e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub(crate) fn inner(input: DeriveInput) -> Result<TokenStream2> {
2323

2424
Ok(quote! {
2525
#[automatically_derived]
26-
impl #impl_generics ::std::error::Error for #ident_name #ty_generics #where_clause {
26+
impl #impl_generics ::core::error::Error for #ident_name #ty_generics #where_clause {
2727
}
2828

2929
#[automatically_derived]

0 commit comments

Comments
 (0)