From a6ae0071b5e50fbe956ff539693bbb5eb11b36d6 Mon Sep 17 00:00:00 2001 From: mcmah309 Date: Mon, 28 Oct 2024 06:37:27 +0000 Subject: [PATCH] doc: Comment update --- impl/src/expand.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impl/src/expand.rs b/impl/src/expand.rs index 6bb2b25..a6b4bce 100644 --- a/impl/src/expand.rs +++ b/impl/src/expand.rs @@ -184,7 +184,7 @@ fn impl_display(error_enum_node: &ErrorEnumGraphNode, token_stream: &mut TokenSt }); } } else { - // e.g. `"field: {}", err.field` + // e.g. `"field: {}", source.field` error_variant_tokens.append_all(quote::quote! { #enum_name::#name(ref source) => write!(f, #tokens), });