Assign unused value to unused variable
Summary: This was showing up when trying to compile other projects, just fix it
@@ -194,14 +194,11 @@ where
.expect("unfold referenced invalid node");
match node {
Node::Pending { children: wait, .. } => {
- mem::replace(
- wait,
- Some(Children {
+ *wait = Some(Children {
context,
children,
children_left,
- }),
- );
+ })
}
_ => unreachable!("running unfold for Node::Done"),
}
