aboutsummaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-10-31 16:03:45 +0000
committerAkshay <[email protected]>2021-10-31 16:03:45 +0000
commit79614a9d6df02c661071f55e81bfc81da5055480 (patch)
tree0ae4ec11fd3dc0f8b69bc0f32c08858ef23a9485 /macros
parent15ccd864c8869f87a564e5ab7e923dcc2bb54340 (diff)
fix the spelling of explanationoffline-explain
Diffstat (limited to 'macros')
-rw-r--r--macros/src/explain.rs2
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 }