mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 10:58:04 +08:00
Rework DynAnyNode design to work with the borrow stack (#796)
This commit is contained in:
committed by
Keavon Chambers
parent
cef58b16c2
commit
562217015d
@@ -240,7 +240,7 @@ mod test {
|
||||
pub fn add_node() {
|
||||
let a = ValueNode(42u32);
|
||||
let b = ValueNode(6u32);
|
||||
let cons_a = ConsNode(a);
|
||||
let cons_a = ConsNode(a, PhantomData);
|
||||
|
||||
let sum = b.then(cons_a).then(AddNode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user