From 85270bbdae9c8025f21d30d494983001368c46ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=9B=8B=E7=96=BC=E7=9A=84=E8=9B=8B=E8=9B=8B?= Date: Thu, 7 Sep 2023 09:39:23 +0800 Subject: [PATCH] =?UTF-8?q?Update=20macro.md=EF=BC=8C=E5=8E=9F=E6=9D=A5?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=BC=8F=E5=8A=A0=E9=80=97=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/advance/macro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/advance/macro.md b/src/advance/macro.md index 1369857f..137c1d48 100644 --- a/src/advance/macro.md +++ b/src/advance/macro.md @@ -393,11 +393,11 @@ pub struct User <'a, T> { DeriveInput { // --snip-- vis: Visibility, - generics: Generics ident: Ident { ident: "Sunfei", span: #0 bytes(95..103) }, + generics: Generics, // Data是一个枚举,分别是DataStruct,DataEnum,DataUnion,这里以 DataStruct 为例 data: Data( DataStruct {