X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_trans%2Ftrans%2Ftype_of.rs;h=8d228c22c3cfa54056cedc2fdc0b7da4d1eb5d0b;hb=857035ade7577d23bac596eb43c34e6844ce0b74;hp=97278eb0512e226ea0018c27258bbe79ed42ccd1;hpb=12cb7c6a2847959460ecac75b2c983d071585472;p=rust.git diff --git a/src/librustc_trans/trans/type_of.rs b/src/librustc_trans/trans/type_of.rs index 97278eb0512..8d228c22c3c 100644 --- a/src/librustc_trans/trans/type_of.rs +++ b/src/librustc_trans/trans/type_of.rs @@ -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