diff --git a/src/ebml/element_reader.rs b/src/ebml/element_reader.rs index adea7275..a4a717a3 100644 --- a/src/ebml/element_reader.rs +++ b/src/ebml/element_reader.rs @@ -24,7 +24,7 @@ impl ElementHeader { } } -#[derive(Copy, Clone)] +#[derive(Copy, Clone, Eq, PartialEq)] pub enum ElementDataType { SignedInt, UnsignedInt, diff --git a/src/ebml/read/segment_info.rs b/src/ebml/read/segment_info.rs index 00bc642b..67609e8d 100644 --- a/src/ebml/read/segment_info.rs +++ b/src/ebml/read/segment_info.rs @@ -51,7 +51,7 @@ where // We do not end up using information from all of the segment // elements, so we can just skip any useless ones. - log::debug!("Skipping EBML child element: {:?}", child); + log::debug!("Skipping EBML child element: {:?}", child.ident); element_reader.skip(size)?; continue; },