From c2933e97791603801c03af8cd0a939a0d8e697ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=20Faltib=C3=A0?= Date: Tue, 17 Sep 2024 18:59:06 +0200 Subject: [PATCH] avoid using std where we need no_std support --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 7cf6a81..497ae5e 100644 --- a/src/error.rs +++ b/src/error.rs @@ -23,7 +23,7 @@ pub(crate) fn inner(input: DeriveInput) -> Result { 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]