]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/interpret/machine.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc_mir / interpret / machine.rs
index d7a3a27bbe8c2b2e8d4eb60f88402f69a7e4cd6b..4c7aa887045c718ef2b2c899e4fc27090ab9fc20 100644 (file)
@@ -81,7 +81,7 @@ pub trait Machine<'a, 'mir, 'tcx>: Sized {
     type FrameExtra;
 
     /// Extra data stored in memory.  A reference to this is available when `AllocExtra`
-    /// gets initialized, so you can e.g. have an `Rc` here if there is global state you
+    /// gets initialized, so you can e.g., have an `Rc` here if there is global state you
     /// need access to in the `AllocExtra` hooks.
     type MemoryExtra: Default;
 
@@ -204,6 +204,7 @@ fn tag_dereference(
     fn retag(
         _ecx: &mut EvalContext<'a, 'mir, 'tcx, Self>,
         _fn_entry: bool,
+        _two_phase: bool,
         _place: PlaceTy<'tcx, Self::PointerTag>,
     ) -> EvalResult<'tcx> {
         Ok(())