diff --git a/src/block.rs b/src/block.rs index 6593f2c..39d11b5 100644 --- a/src/block.rs +++ b/src/block.rs @@ -109,9 +109,7 @@ impl<'s> Parser<'s> { let blanklines = lines .iter() .take_while(|sp| sp.of(self.src).trim().is_empty()) - .map(|sp| { - self.tree.elem(Atom::Blankline, *sp); - }) + .map(|sp| self.tree.elem(Atom::Blankline, *sp)) .count(); let lines = &mut lines[blanklines..];