Skip to content

Commit 0afcfce

Browse files
committed
update comment about heuristics
1 parent b0092e8 commit 0afcfce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc_mir/transform/inline.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ impl<'a, 'tcx> Inliner<'a, 'tcx> {
7272
// inline.
7373
//
7474
// We use a queue so that we inline "broadly" before we inline
75-
// in depth. It is unclear if this is the current heuristic.
75+
// in depth. It is unclear if this is the best heuristic,
76+
// really, but that's true of all the heuristics in this
77+
// file. =)
7678

7779
let mut callsites = VecDeque::new();
7880

0 commit comments

Comments
 (0)