Skip to content

Commit 0e98d9a

Browse files
Fix comment
1 parent f3bd95d commit 0e98d9a

File tree

1 file changed

+1
-2
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+1
-2
lines changed

compiler/rustc_middle/src/query/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1164,8 +1164,7 @@ rustc_queries! {
11641164
}
11651165

11661166
/// Check whether the function has any recursion that could cause the inliner to trigger
1167-
/// a cycle. Returns the call stack causing the cycle. The call stack does not contain the
1168-
/// current function, just all intermediate functions.
1167+
/// a cycle.
11691168
query mir_callgraph_reachable(key: (ty::Instance<'tcx>, LocalDefId)) -> bool {
11701169
fatal_cycle
11711170
desc { |tcx|

0 commit comments

Comments
 (0)