diff options
Diffstat (limited to 'src/document_tree/extra_attributes.rs')
| -rw-r--r-- | src/document_tree/extra_attributes.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/document_tree/extra_attributes.rs b/src/document_tree/extra_attributes.rs index 58a1e94..0708080 100644 --- a/src/document_tree/extra_attributes.rs +++ b/src/document_tree/extra_attributes.rs @@ -20,7 +20,7 @@ macro_rules! skip {  macro_rules! impl_extra {  	( $name:ident { $( $(#[$pattr:meta])* $param:ident : $type:ty ),* $(,)* } ) => (  		impl_extra!( -			#[derive(Default,Debug,Serialize)] +			#[derive(Default,Debug,PartialEq,Serialize)]  			$name { $( $(#[$pattr])* $param : $type, )* }  		);  	); @@ -49,7 +49,7 @@ impl_extra!(Target {  	anonymous: bool,  });  impl_extra!(Raw { space: FixedSpace, format: Vec<NameToken> }); -impl_extra!(#[derive(Debug,Serialize)] Image { +impl_extra!(#[derive(Debug,PartialEq,Serialize)] Image {  	uri: target::Target,  	align: Option<AlignHV>,  	alt: Option<String>, | 
