about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval
diff options
context:
space:
mode:
authorRageking8 <tomleetyt@gmail.com>2022-12-05 16:42:36 +0800
committerRageking8 <tomleetyt@gmail.com>2022-12-05 16:42:36 +0800
commit58110572fb23e0ad1944bdf3d8cdb3f84cb91aa2 (patch)
tree0acd9bc67dd30cce5bfded6a32b2663f10f6bad1 /compiler/rustc_const_eval/src/const_eval
parentb9341bfdb1dec09b49b1e7d01d7c4db0e2436737 (diff)
fix dupe word typos
Diffstat (limited to 'compiler/rustc_const_eval/src/const_eval')
-rw-r--r--compiler/rustc_const_eval/src/const_eval/machine.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/const_eval/machine.rs b/compiler/rustc_const_eval/src/const_eval/machine.rs
index 04e68b96455..3dfded2d930 100644
--- a/compiler/rustc_const_eval/src/const_eval/machine.rs
+++ b/compiler/rustc_const_eval/src/const_eval/machine.rs
@@ -240,7 +240,7 @@ impl<'mir, 'tcx: 'mir> CompileTimeEvalContext<'mir, 'tcx> {
                     let align = ImmTy::from_uint(target_align, args[1].layout).into();
                     let fn_abi = self.fn_abi_of_instance(instance, ty::List::empty())?;
 
-                    // We replace the entire entire function call with a "tail call".
+                    // We replace the entire function call with a "tail call".
                     // Note that this happens before the frame of the original function
                     // is pushed on the stack.
                     self.eval_fn_call(