diff options
Diffstat (limited to 'macros/src')
-rw-r--r-- | macros/src/explain.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
20 | .join("\n"); | 20 | .join("\n"); |
21 | quote! { | 21 | quote! { |
22 | impl crate::Explain for #struct_name { | 22 | impl crate::Explain for #struct_name { |
23 | fn explaination(&self) -> &'static str { | 23 | fn explanation(&self) -> &'static str { |
24 | #explain | 24 | #explain |
25 | } | 25 | } |
26 | } | 26 | } |