about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-07-06 14:01:43 +0200
committerRalf Jung <post@ralfj.de>2019-07-06 14:01:43 +0200
commit9b71a8f8ba4e47c19336ceb504eb724056f96f95 (patch)
tree21a2490e58f7f63f4251ee4994c4001413a3cf34 /src
parent08e7a84354d1c829684dc11c7c4e7a0b5cf6f5b6 (diff)
downloadrust-9b71a8f8ba4e47c19336ceb504eb724056f96f95.tar.gz
rust-9b71a8f8ba4e47c19336ceb504eb724056f96f95.zip
remove outdated comment
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/interpret/place.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_mir/interpret/place.rs b/src/librustc_mir/interpret/place.rs
index 43f8677cd32..6b8eb3fa773 100644
--- a/src/librustc_mir/interpret/place.rs
+++ b/src/librustc_mir/interpret/place.rs
@@ -277,8 +277,6 @@ where
 {
     /// Take a value, which represents a (thin or fat) reference, and make it a place.
     /// Alignment is just based on the type.  This is the inverse of `MemPlace::to_ref()`.
-    /// This does NOT call the "deref" machine hook, so it does NOT count as a
-    /// deref as far as Stacked Borrows is concerned.  Use `deref_operand` for that!
     pub fn ref_to_mplace(
         &self,
         val: ImmTy<'tcx, M::PointerTag>,