]> git.lizzy.rs Git - rust.git/commitdiff
Change not-so-permanent link to a more permanent link.
authorMara Bos <m-ou.se@m-ou.se>
Fri, 13 Jan 2023 21:23:59 +0000 (22:23 +0100)
committerMara Bos <m-ou.se@m-ou.se>
Fri, 13 Jan 2023 21:23:59 +0000 (22:23 +0100)
compiler/rustc_ast_lowering/src/format.rs

index 8985f8ad85daff1f33246fba7372b5ed1c76ecc2..776b532b0de866dac35d9895dc856cc86f580691 100644 (file)
@@ -225,7 +225,7 @@ fn expand_format_args<'hir>(
     // we don't do this, because an ArgumentV1 cannot be kept across yield points.
     //
     // This is an optimization, speeding up compilation about 1-2% in some cases.
-    // See https://perf.rust-lang.org/compare.html?start=5dbee4d3a6728eb4530fb66c9775834438ecec74&end=e36affffe97378a0027b4bcfbb18d27356164ed0&stat=instructions:u
+    // See https://github.com/rust-lang/rust/pull/106770#issuecomment-1380790609
     let use_simple_array = argmap.len() == arguments.len()
         && argmap.iter().enumerate().all(|(i, &(j, _))| i == j)
         && arguments.iter().skip(1).all(|arg| !may_contain_yield_point(&arg.expr));