about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-09-28 16:15:41 +0800
committercui fliter <imcusg@gmail.com>2023-10-04 08:01:11 +0800
commitf44d116e1f9a513b8730c1629bf17592bcd9784a (patch)
treea27e0d5957d1cd330d28382ee3f2f92ee2aca54d /compiler/rustc_codegen_ssa
parentaeaa5c30e5c9041264a2e8314b68ad84c2dc3169 (diff)
downloadrust-f44d116e1f9a513b8730c1629bf17592bcd9784a.tar.gz
rust-f44d116e1f9a513b8730c1629bf17592bcd9784a.zip
Fix misuses of a vs an
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_ssa')
-rw-r--r--compiler/rustc_codegen_ssa/src/traits/type_.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/type_.rs b/compiler/rustc_codegen_ssa/src/traits/type_.rs
index dc3dbd9d819..b1fde8e4d86 100644
--- a/compiler/rustc_codegen_ssa/src/traits/type_.rs
+++ b/compiler/rustc_codegen_ssa/src/traits/type_.rs
@@ -30,7 +30,7 @@ pub trait BaseTypeMethods<'tcx>: Backend<'tcx> {
     fn type_ptr_ext(&self, address_space: AddressSpace) -> Self::Type;
     fn element_type(&self, ty: Self::Type) -> Self::Type;
 
-    /// Returns the number of elements in `self` if it is a LLVM vector type.
+    /// Returns the number of elements in `self` if it is an LLVM vector type.
     fn vector_length(&self, ty: Self::Type) -> usize;
 
     fn float_width(&self, ty: Self::Type) -> usize;