diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2024-09-06 05:09:32 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2024-09-06 05:09:32 +0000 |
| commit | 2fccb4b358e06c9c33d1ed18b280aa1a776c2f36 (patch) | |
| tree | a327c16521758286ea353293be72e4104cba2442 /compiler/rustc_data_structures/src/graph | |
| parent | 81a08bc67ab0d9186295d081e9579d8e0c2f1998 (diff) | |
| parent | 54fdef7799d9ff9470bb5cabd29fde9471a99eaa (diff) | |
| download | rust-2fccb4b358e06c9c33d1ed18b280aa1a776c2f36.tar.gz rust-2fccb4b358e06c9c33d1ed18b280aa1a776c2f36.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_data_structures/src/graph')
| -rw-r--r-- | compiler/rustc_data_structures/src/graph/scc/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/graph/scc/mod.rs b/compiler/rustc_data_structures/src/graph/scc/mod.rs index 2a457ffb70b..06fedef00fc 100644 --- a/compiler/rustc_data_structures/src/graph/scc/mod.rs +++ b/compiler/rustc_data_structures/src/graph/scc/mod.rs @@ -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; |
