diff options
| author | Philipp A | 2017-01-26 20:21:39 +0100 | 
|---|---|---|
| committer | Philipp A | 2017-01-26 20:21:39 +0100 | 
| commit | 6df5d71c64f75a60e8f9ec47b698797ecd11d954 (patch) | |
| tree | d6eb2cc19fbda62497b0ca36793e76b1c24603f8 /src/document_tree | |
| parent | b08188e0dc716fae63151e076848a1286b216287 (diff) | |
| download | rust-rst-6df5d71c64f75a60e8f9ec47b698797ecd11d954.tar.bz2 | |
satisfied clippy
Diffstat (limited to 'src/document_tree')
| -rw-r--r-- | src/document_tree/element_categories.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/document_tree/element_categories.rs b/src/document_tree/element_categories.rs index 85ac340..e3a2425 100644 --- a/src/document_tree/element_categories.rs +++ b/src/document_tree/element_categories.rs @@ -25,8 +25,8 @@ macro_rules! synonymous_enum {( $name:ident { $( $entry:ident ),* } ) => (  	impl Debug for $name {  		fn fmt(&self, fmt: &mut Formatter) -> Result<(), fmt::Error> { -			match self { -				$( &$name::$entry(ref inner) => inner.fmt(fmt), )* +			match *self { +				$( $name::$entry(ref inner) => inner.fmt(fmt), )*  			}  		}  	} | 
