Skip to content

Commit 57b4e5d

Browse files
committed
comment code
1 parent 34d8011 commit 57b4e5d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

chalk-solve/src/coherence.rs

+3-1
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)