diff options
| author | xiaoxiangxianzi <zhaoyizheng@outlook.com> | 2024-03-27 21:19:17 +0800 |
|---|---|---|
| committer | xiaoxiangxianzi <zhaoyizheng@outlook.com> | 2024-03-27 22:32:53 +0800 |
| commit | 3157114f0b4b28caad0d593a0cc5d8b04d02a29c (patch) | |
| tree | 4d934ced914d0900a8f5c4df9ed3c1d80c6692ee /compiler/rustc_const_eval | |
| parent | 0dcc1309d0e56f2121d46e20c19d332233533530 (diff) | |
| download | rust-3157114f0b4b28caad0d593a0cc5d8b04d02a29c.tar.gz rust-3157114f0b4b28caad0d593a0cc5d8b04d02a29c.zip | |
chore: fix some comments
Signed-off-by: xiaoxiangxianzi <zhaoyizheng@outlook.com>
Diffstat (limited to 'compiler/rustc_const_eval')
| -rw-r--r-- | compiler/rustc_const_eval/src/const_eval/eval_queries.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/const_eval/eval_queries.rs b/compiler/rustc_const_eval/src/const_eval/eval_queries.rs index 098a6201c4e..4283ebc99d2 100644 --- a/compiler/rustc_const_eval/src/const_eval/eval_queries.rs +++ b/compiler/rustc_const_eval/src/const_eval/eval_queries.rs @@ -409,7 +409,7 @@ fn const_validate_mplace<'mir, 'tcx>( } }; ecx.const_validate_operand(&mplace.into(), path, &mut ref_tracking, mode) - // Instead of just reporting the `InterpError` via the usual machinery, we give a more targetted + // Instead of just reporting the `InterpError` via the usual machinery, we give a more targeted // error about the validation failure. .map_err(|error| report_validation_error(&ecx, error, alloc_id))?; inner = true; |
