From ac932df22a993f0b287e60aa42055405ef94a6ae Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 9 Feb 2018 22:55:50 +0300 Subject: reformat --- src/parser/parser.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/parser/parser.rs') diff --git a/src/parser/parser.rs b/src/parser/parser.rs index 069701483..7c8e47cb6 100644 --- a/src/parser/parser.rs +++ b/src/parser/parser.rs @@ -27,9 +27,9 @@ impl Marker { if idx == p.events.len() - 1 { match p.events.pop() { Some(Event::Start { - kind: TOMBSTONE, - forward_parent: None, - }) => (), + kind: TOMBSTONE, + forward_parent: None, + }) => (), _ => unreachable!(), } } @@ -188,9 +188,6 @@ impl<'p, 't: 'p> Drop for ErrorBuilder<'p, 't> { impl<'t, 'p> ErrorBuilder<'p, 't> { fn new(parser: &'p mut Parser<'t>, message: String) -> Self { - ErrorBuilder { - message, - parser, - } + ErrorBuilder { message, parser } } } -- cgit v1.2.3