forgot
This commit is contained in:
parent
026f6141e6
commit
aefa7e6405
|
@ -4282,13 +4282,15 @@ fn push_up(nodes: &mut Nodes) {
|
||||||
nodes
|
nodes
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(n, _)| n)
|
.map(|(n, _)| n)
|
||||||
.filter(|&n| !nodes.visited.get(n) && !matches!(nodes[n].kind, Kind::Arg | Kind::Mem))
|
.filter(|&n| !nodes.visited.get(n)
|
||||||
|
&& !matches!(nodes[n].kind, Kind::Arg | Kind::Mem | Kind::End))
|
||||||
.collect::<Vec<_>>(),
|
.collect::<Vec<_>>(),
|
||||||
vec![],
|
vec![],
|
||||||
"{:?}",
|
"{:?}",
|
||||||
nodes
|
nodes
|
||||||
.iter()
|
.iter()
|
||||||
.filter(|&(n, nod)| !nodes.visited.get(n) && !matches!(nod.kind, Kind::Arg | Kind::Mem))
|
.filter(|&(n, nod)| !nodes.visited.get(n)
|
||||||
|
&& !matches!(nod.kind, Kind::Arg | Kind::Mem | Kind::End))
|
||||||
.collect::<Vec<_>>()
|
.collect::<Vec<_>>()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue