File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ where
118118 node_impls. contains ( & more_special) ,
119119 ) {
120120 ( true , true ) => {
121- // but how do we get indices for l and m?
121+ // get existing indices for less_special and more_special
122122 let l = forest
123123 . node_indices ( )
124124 . find ( |i| forest[ * i] == less_special)
@@ -131,6 +131,7 @@ where
131131 }
132132 ( true , false ) => {
133133 let m = forest. add_node ( more_special) ;
134+ // get existing index for less_special
134135 let l = forest
135136 . node_indices ( )
136137 . find ( |i| forest[ * i] == less_special)
@@ -139,6 +140,7 @@ where
139140 }
140141 ( false , true ) => {
141142 let l = forest. add_node ( less_special) ;
143+ // get existing index for more_special
142144 let m = forest
143145 . node_indices ( )
144146 . find ( |i| forest[ * i] == more_special)
You can’t perform that action at this time.
0 commit comments