File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,9 @@ impl Extensions {
19
19
}
20
20
}
21
21
}
22
+
23
+ impl Default for Extensions {
24
+ fn default ( ) -> Self {
25
+ Extensions :: empty ( )
26
+ }
27
+ }
Original file line number Diff line number Diff line change @@ -196,10 +196,6 @@ fn default_enumerate_arrays() -> bool {
196
196
false
197
197
}
198
198
199
- fn default_extensions ( ) -> Extensions {
200
- Extensions :: empty ( )
201
- }
202
-
203
199
impl Default for PrettyConfig {
204
200
fn default ( ) -> Self {
205
201
PrettyConfig {
@@ -208,7 +204,7 @@ impl Default for PrettyConfig {
208
204
indentor : default_indentor ( ) ,
209
205
separate_tuple_members : default_separate_tuple_members ( ) ,
210
206
enumerate_arrays : default_enumerate_arrays ( ) ,
211
- extensions : default_extensions ( ) ,
207
+ extensions : Extensions :: default ( ) ,
212
208
_future_proof : ( ) ,
213
209
}
214
210
}
You can’t perform that action at this time.
0 commit comments