chore: Fix typos in 'compiler' (batch 1)

This commit is contained in:
Alexander Cyon
2024-09-02 07:42:38 +02:00
parent 78d5c04d9c
commit ac69544a17
35 changed files with 44 additions and 44 deletions

View File

@@ -477,7 +477,7 @@ where
// will know when we hit the state where previous_node == node.
loop {
// Back at the beginning, we can return. Note that we return the root state.
// This is becuse for components being explored, we would otherwise get a
// This is because for components being explored, we would otherwise get a
// `node_state[n] = InCycleWith{ parent: n }` and that's wrong.
if previous_node == node {
return root_state;