]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_target/abi/call/mod.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc_target / abi / call / mod.rs
index 489bb37fc26ff9ac8393a41262261a51c621cb9d..1c3763c6e37f455c4d3c85742e691fe876ccada6 100644 (file)
@@ -164,7 +164,7 @@ pub fn align<C: HasDataLayout>(&self, cx: &C) -> Align {
 }
 
 /// An argument passed entirely registers with the
-/// same kind (e.g. HFA / HVA on PPC64 and AArch64).
+/// same kind (e.g., HFA / HVA on PPC64 and AArch64).
 #[derive(Clone, Copy, PartialEq, Eq, Debug)]
 pub struct Uniform {
     pub unit: Reg,
@@ -173,7 +173,7 @@ pub struct Uniform {
     /// * equal to `unit.size` (one scalar/vector)
     /// * a multiple of `unit.size` (an array of scalar/vectors)
     /// * if `unit.kind` is `Integer`, the last element
-    ///   can be shorter, i.e. `{ i64, i64, i32 }` for
+    ///   can be shorter, i.e., `{ i64, i64, i32 }` for
     ///   64-bit integers with a total size of 20 bytes
     pub total: Size,
 }