diff --git a/src/graph.rs b/src/graph.rs index 15c9bd802..c76b07252 100644 --- a/src/graph.rs +++ b/src/graph.rs @@ -289,6 +289,7 @@ pub fn neighbours<'a>(v: &Vertex<'a>, buf: &mut [Option<(Edge, Vertex<'a>)>]) { rhs_syntax: rhs_syntax.next(), }, )); + i += 1; } // Step into this partially/fully novel list. Syntax::List { @@ -323,6 +324,7 @@ pub fn neighbours<'a>(v: &Vertex<'a>, buf: &mut [Option<(Edge, Vertex<'a>)>]) { rhs_syntax: rhs_syntax.next(), }, )); + i += 1; } } }