File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 66
77use std:: {
88 collections:: HashMap ,
9- fmt:: Display ,
109 fs:: File ,
1110 path:: { Path , PathBuf } ,
1211} ;
@@ -157,19 +156,6 @@ struct MacroSettings {
157156 convert : OrderedMap < SchemaObject , ParseWrapper < TypeAndImpls > > ,
158157}
159158
160- #[ derive( Deserialize ) ]
161- enum MacroSettingsImpl {
162- Display ,
163- }
164-
165- impl Display for MacroSettingsImpl {
166- fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
167- match self {
168- MacroSettingsImpl :: Display => f. write_str ( "Display" ) ,
169- }
170- }
171- }
172-
173159#[ derive( Deserialize ) ]
174160struct MacroPatch {
175161 #[ serde( default ) ]
@@ -191,18 +177,6 @@ impl From<MacroPatch> for TypePatch {
191177 }
192178}
193179
194- #[ derive( Deserialize ) ]
195- enum GenerationStyle {
196- Positional ,
197- Builder ,
198- }
199-
200- impl Default for GenerationStyle {
201- fn default ( ) -> Self {
202- Self :: Positional
203- }
204- }
205-
206180#[ derive( Debug ) ]
207181struct ClosureOrPath ( proc_macro2:: TokenStream ) ;
208182
You can’t perform that action at this time.
0 commit comments