Skip to content

Commit 9f2ba59

Browse files
committed
Change not-so-permanent link to a more permanent link.
1 parent cd8ec6c commit 9f2ba59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast_lowering/src/format.rs

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

0 commit comments

Comments
 (0)