]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_ssa/mir/place.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc_codegen_ssa / mir / place.rs
index 1aba53255e7a714e55b4b28a8b40437c6a8bcca0..90aa9f6cbc763c7269502a938ae5d0ee8aece15e 100644 (file)
@@ -229,9 +229,9 @@ pub fn codegen_get_discr<Bx: BuilderMethods<'a, 'tcx, Value = V>>(
             layout::Variants::Tagged { ref tag, .. } => {
                 let signed = match tag.value {
                     // We use `i1` for bytes that are always `0` or `1`,
-                    // e.g. `#[repr(i8)] enum E { A, B }`, but we can't
+                    // e.g., `#[repr(i8)] enum E { A, B }`, but we can't
                     // let LLVM interpret the `i1` as signed, because
-                    // then `i1 1` (i.e. E::B) is effectively `i8 -1`.
+                    // then `i1 1` (i.e., E::B) is effectively `i8 -1`.
                     layout::Int(_, signed) => !tag.is_bool() && signed,
                     _ => false
                 };