From 79614a9d6df02c661071f55e81bfc81da5055480 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 31 Oct 2021 21:33:45 +0530 Subject: fix the spelling of explanation --- macros/src/explain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros') diff --git a/macros/src/explain.rs b/macros/src/explain.rs index 9bc3c29..41dc5d4 100644 --- a/macros/src/explain.rs +++ b/macros/src/explain.rs @@ -20,7 +20,7 @@ pub fn generate_explain_impl(struct_item: &ItemStruct) -> TokenStream2 { .join("\n"); quote! { impl crate::Explain for #struct_name { - fn explaination(&self) -> &'static str { + fn explanation(&self) -> &'static str { #explain } } -- cgit v1.2.3