fixup! block: add MeteredBlock as intermediate struct
This commit is contained in:
parent
e9feeb73c1
commit
42360d7001
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ impl<'s> TreeParser<'s> {
|
||||||
if let Some(OpenList { ty, depth, .. }) = self.open_lists.last() {
|
if let Some(OpenList { ty, depth, .. }) = self.open_lists.last() {
|
||||||
assert!(usize::from(*depth) <= self.tree.depth());
|
assert!(usize::from(*depth) <= self.tree.depth());
|
||||||
if self.tree.depth() == (*depth).into()
|
if self.tree.depth() == (*depth).into()
|
||||||
&& !matches!(kind, Kind::ListItem{ ty: ty_new, .. } if *ty == ty_new)
|
&& !matches!(kind, Kind::ListItem { ty: ty_new, .. } if *ty == ty_new)
|
||||||
{
|
{
|
||||||
self.tree.exit(); // list
|
self.tree.exit(); // list
|
||||||
self.open_lists.pop();
|
self.open_lists.pop();
|
||||||
|
|
Loading…
Reference in a new issue