File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,13 @@ pub enum Input<'a> {
12
12
}
13
13
14
14
pub struct Struct < ' a > {
15
- pub original : & ' a DeriveInput ,
16
15
pub attrs : Attrs < ' a > ,
17
16
pub ident : Ident ,
18
17
pub generics : & ' a Generics ,
19
18
pub fields : Vec < Field < ' a > > ,
20
19
}
21
20
22
21
pub struct Enum < ' a > {
23
- pub original : & ' a DeriveInput ,
24
22
pub attrs : Attrs < ' a > ,
25
23
pub ident : Ident ,
26
24
pub generics : & ' a Generics ,
@@ -65,7 +63,6 @@ impl<'a> Struct<'a> {
65
63
display. expand_shorthand ( & fields) ;
66
64
}
67
65
Ok ( Struct {
68
- original : node,
69
66
attrs,
70
67
ident : node. ident . clone ( ) ,
71
68
generics : & node. generics ,
@@ -96,7 +93,6 @@ impl<'a> Enum<'a> {
96
93
} )
97
94
. collect :: < Result < _ > > ( ) ?;
98
95
Ok ( Enum {
99
- original : node,
100
96
attrs,
101
97
ident : node. ident . clone ( ) ,
102
98
generics : & node. generics ,
You can’t perform that action at this time.
0 commit comments