]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_trans/trans/type_of.rs
Fix spelling errors in comments.
[rust.git] / src / librustc_trans / trans / type_of.rs
index 97278eb0512e226ea0018c27258bbe79ed42ccd1..8d228c22c3cfa54056cedc2fdc0b7da4d1eb5d0b 100644 (file)
@@ -264,7 +264,7 @@ pub fn arg_type_of<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>, t: Ty<'tcx>) -> Type {
 }
 
 /// Get the LLVM type corresponding to a Rust type, i.e. `middle::ty::Ty`.
-/// This is the right LLVM type for an alloca containg a value of that type,
+/// This is the right LLVM type for an alloca containing a value of that type,
 /// and the pointee of an Lvalue Datum (which is always a LLVM pointer).
 /// For unsized types, the returned type is a fat pointer, thus the resulting
 /// LLVM type for a `Trait` Lvalue is `{ i8*, void(i8*)** }*`, which is a double