fixup! parse inline attrs

This commit is contained in:
Noah Hellman 2023-01-29 15:10:41 +01:00
parent 3e8b80059e
commit 7b8157cb51

View file

@ -392,9 +392,7 @@ impl<'s> Parser<'s> {
inline_parser: None, inline_parser: None,
} }
} }
}
impl<'s> Parser<'s> {
fn inline(&mut self) -> Option<Event<'s>> { fn inline(&mut self) -> Option<Event<'s>> {
self.inline_parser.as_mut().and_then(|parser| { self.inline_parser.as_mut().and_then(|parser| {
let mut inline = parser.next(); let mut inline = parser.next();