]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/interpret/visitor.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc_mir / interpret / visitor.rs
index 81e56f3115d26cfd8aa1b39ef4d88d36e45c7839..4773f5627d716db0238f6b3d9ac616b20d8eb140 100644 (file)
@@ -272,7 +272,7 @@ fn walk_value(&mut self, v: Self::V) -> EvalResult<'tcx>
                 // is very relevant for `NonNull` and similar structs: We need to visit them
                 // at their scalar layout *before* descending into their fields.
                 // FIXME: We could avoid some redundant checks here. For newtypes wrapping
-                // scalars, we do the same check on every "level" (e.g. first we check
+                // scalars, we do the same check on every "level" (e.g., first we check
                 // MyNewtype and then the scalar in there).
                 match v.layout().abi {
                     layout::Abi::Uninhabited => {