diff --git a/src/diff/graph.rs b/src/diff/graph.rs index b7b9e149b..d17209ccb 100644 --- a/src/diff/graph.rs +++ b/src/diff/graph.rs @@ -51,6 +51,8 @@ use Edge::*; pub struct Vertex<'a, 'b> { pub neighbours: RefCell)>>>, pub predecessor: Cell)>>, + // TODO: experiment with storing SyntaxId only, and have a HashMap + // from SyntaxId to &Syntax. pub lhs_syntax: Option<&'a Syntax<'a>>, pub rhs_syntax: Option<&'a Syntax<'a>>, parents: Stack>,