]> git.lizzy.rs Git - rust.git/commitdiff
update comment about heuristics
authorNiko Matsakis <niko@alum.mit.edu>
Tue, 2 May 2017 10:33:11 +0000 (06:33 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 2 May 2017 20:21:57 +0000 (16:21 -0400)
src/librustc_mir/transform/inline.rs

index 3f6ce9c9446f2d85bcdb43d4ff4f864986a90ad3..f60dcbed6ba474bee54f34fd07d9042b35f97e39 100644 (file)
@@ -72,7 +72,9 @@ fn run_pass(&self, caller_mir: &mut Mir<'tcx>) {
         // inline.
         //
         // We use a queue so that we inline "broadly" before we inline
-        // in depth.  It is unclear if this is the current heuristic.
+        // in depth. It is unclear if this is the best heuristic,
+        // really, but that's true of all the heuristics in this
+        // file. =)
 
         let mut callsites = VecDeque::new();