tnoheu
This commit is contained in:
parent
50287ca9da
commit
6ec5b09367
2 changed files with 2 additions and 2 deletions
|
@ -211,7 +211,7 @@ impl<'s> TreeParser<'s> {
|
||||||
if let tree::Element::Container(Node::Container(Container::List {
|
if let tree::Element::Container(Node::Container(Container::List {
|
||||||
tight,
|
tight,
|
||||||
..
|
..
|
||||||
})) = self.tree.elem_mut(*node)
|
})) = self.tree.elem(*node)
|
||||||
{
|
{
|
||||||
*tight = false;
|
*tight = false;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -210,7 +210,7 @@ impl<C: Clone, A: Clone> Builder<C, A> {
|
||||||
self.depth
|
self.depth
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(super) fn elem_mut(&mut self, ni: NodeIndex) -> Element<C, A> {
|
pub(super) fn elem(&mut self, ni: NodeIndex) -> Element<C, A> {
|
||||||
match &mut self.nodes[ni.index()].kind {
|
match &mut self.nodes[ni.index()].kind {
|
||||||
NodeKind::Root => unreachable!(),
|
NodeKind::Root => unreachable!(),
|
||||||
NodeKind::Container(c, ..) => Element::Container(c),
|
NodeKind::Container(c, ..) => Element::Container(c),
|
||||||
|
|
Loading…
Reference in a new issue