diff options
| author | Ralf Jung <post@ralfj.de> | 2020-03-09 16:56:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-09 16:56:45 +0100 |
| commit | 51b60b75e79e39dcbb1fa96d72f4cbb82df7f2ae (patch) | |
| tree | de7b9f58bb86d1e126e5e6cd05fe9e2b8ce57e5c /src | |
| parent | 1a9fc18e830dc57731e2976edb5c5f0fabc5019c (diff) | |
| download | rust-51b60b75e79e39dcbb1fa96d72f4cbb82df7f2ae.tar.gz rust-51b60b75e79e39dcbb1fa96d72f4cbb82df7f2ae.zip | |
Improve readability
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_codegen_ssa/mir/block.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_codegen_ssa/mir/block.rs b/src/librustc_codegen_ssa/mir/block.rs index f22c0216a78..6963f1d811a 100644 --- a/src/librustc_codegen_ssa/mir/block.rs +++ b/src/librustc_codegen_ssa/mir/block.rs @@ -415,8 +415,8 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { AssertKind::BoundsCheck { ref len, ref index } => { let len = self.codegen_operand(&mut bx, len).immediate(); let index = self.codegen_operand(&mut bx, index).immediate(); - // It's `fn panic_bounds_check(index: usize, len: usize)`, and - // `#[track_caller]` adds an implicit third argument. + // It's `fn panic_bounds_check(index: usize, len: usize)`, + // and `#[track_caller]` adds an implicit third argument. (lang_items::PanicBoundsCheckFnLangItem, vec![index, len, location]) } _ => { |
