chore: impl Debug for all struct and enum

This commit is contained in:
PoiScript 2019-01-11 23:11:07 +08:00
parent 128825f148
commit 6b1e2a26be
17 changed files with 64 additions and 28 deletions

View file

@ -24,7 +24,8 @@ pub enum Container {
Underline { end: usize },
}
#[cfg_attr(test, derive(PartialEq, Debug))]
#[cfg_attr(test, derive(PartialEq))]
#[derive(Debug)]
pub enum Event<'a> {
StartHeadline(Headline<'a>),
EndHeadline,