From 9f2ba59647b2cc70ce9467f2731e707459bf388f Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Fri, 13 Jan 2023 22:23:59 +0100 Subject: [PATCH] Change not-so-permanent link to a more permanent link. --- compiler/rustc_ast_lowering/src/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_ast_lowering/src/format.rs b/compiler/rustc_ast_lowering/src/format.rs index 8985f8ad85da..776b532b0de8 100644 --- a/compiler/rustc_ast_lowering/src/format.rs +++ b/compiler/rustc_ast_lowering/src/format.rs @@ -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));