File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use cortex_m::peripheral::itm::LocalTimestampOptions;
8
8
use serde:: { Deserialize , Serialize } ;
9
9
use thiserror:: Error ;
10
10
11
- #[ derive( Deserialize , Debug ) ]
11
+ #[ derive( Deserialize , Debug , Default ) ]
12
12
struct ManifestPropertiesIntermediate {
13
13
pub pac_name : Option < String > ,
14
14
pub pac_features : Option < Vec < String > > ,
@@ -22,23 +22,6 @@ struct ManifestPropertiesIntermediate {
22
22
pub expect_malformed : Option < bool > ,
23
23
}
24
24
25
- impl Default for ManifestPropertiesIntermediate {
26
- fn default ( ) -> Self {
27
- Self {
28
- pac_name : None ,
29
- pac_features : None ,
30
- pac_version : None ,
31
- interrupt_path : None ,
32
- tpiu_freq : None ,
33
- tpiu_baud : None ,
34
- lts_prescaler : None ,
35
- dwt_enter_id : None ,
36
- dwt_exit_id : None ,
37
- expect_malformed : None ,
38
- }
39
- }
40
- }
41
-
42
25
impl ManifestPropertiesIntermediate {
43
26
pub fn complete_with ( & mut self , other : Self ) {
44
27
macro_rules! complete {
You can’t perform that action at this time.
0 commit comments