forked from AbleOS/holey-bytes
forgot
This commit is contained in:
parent
026f6141e6
commit
aefa7e6405
|
@ -4282,13 +4282,15 @@ fn push_up(nodes: &mut Nodes) {
|
|||
nodes
|
||||
.iter()
|
||||
.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<_>>(),
|
||||
vec![],
|
||||
"{:?}",
|
||||
nodes
|
||||
.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<_>>()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue