about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/rvalue.rs
diff options
context:
space:
mode:
authorFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-22 14:46:15 +0200
committerFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-22 15:35:11 +0200
commitbf88b113eab9c36e63f8461f5849138cb60d810a (patch)
treef333d6f75d1ec09c17554a69c6420ced3203adf2 /compiler/rustc_codegen_ssa/src/mir/rvalue.rs
parent2ad56d5c9031636c1509f4417e88099a49405b4e (diff)
downloadrust-bf88b113eab9c36e63f8461f5849138cb60d810a.tar.gz
rust-bf88b113eab9c36e63f8461f5849138cb60d810a.zip
Fix typos “a”→“an”
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/mir/rvalue.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/mir/rvalue.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/rvalue.rs b/compiler/rustc_codegen_ssa/src/mir/rvalue.rs
index 7e432d27402..65869483025 100644
--- a/compiler/rustc_codegen_ssa/src/mir/rvalue.rs
+++ b/compiler/rustc_codegen_ssa/src/mir/rvalue.rs
@@ -901,7 +901,7 @@ fn cast_float_to_int<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
     //
     // Performance note: Unordered comparison can be lowered to a "flipped"
     // comparison and a negation, and the negation can be merged into the
-    // select. Therefore, it not necessarily any more expensive than a
+    // select. Therefore, it not necessarily any more expensive than an
     // ordered ("normal") comparison. Whether these optimizations will be
     // performed is ultimately up to the backend, but at least x86 does
     // perform them.