File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use crate::new_element;
16
16
use crate :: svd:: { cpu:: Cpu , peripheral:: Peripheral , registerproperties:: RegisterProperties } ;
17
17
18
18
#[ cfg_attr( feature = "serde" , derive( serde:: Deserialize , serde:: Serialize ) ) ]
19
- #[ derive( Clone , Debug ) ]
19
+ #[ derive( Clone , Debug , PartialEq ) ]
20
20
pub struct Device {
21
21
/// The string identifies the device or device series. Device names are required to be unique
22
22
pub name : String ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ use crate::svd::{
19
19
} ;
20
20
21
21
#[ cfg_attr( feature = "serde" , derive( serde:: Deserialize , serde:: Serialize ) ) ]
22
- #[ derive( Clone , Debug ) ]
22
+ #[ derive( Clone , Debug , PartialEq ) ]
23
23
pub struct Peripheral {
24
24
/// The string identifies the peripheral. Peripheral names are required to be unique for a device
25
25
pub name : String ,
You can’t perform that action at this time.
0 commit comments