about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-03-25 19:28:14 +0100
committerGitHub <noreply@github.com>2020-03-25 19:28:14 +0100
commit9a9cb2d372b4e41248bf20765da306cb0c92f74a (patch)
tree6155b34bb2805bc3c582b8b869e815d674d8349c /src
parent530c320e7534aa3ae1afbd6dbf423d5578c391f6 (diff)
parentbedc3587cee29d63d78f943dd332b1d01b16ee6d (diff)
downloadrust-9a9cb2d372b4e41248bf20765da306cb0c92f74a.tar.gz
rust-9a9cb2d372b4e41248bf20765da306cb0c92f74a.zip
Rollup merge of #70379 - JOE1994:patch-2, r=petrochenkov
fix incorrect type name in doc comments

Change : `InterpCtx` => `InterpCx`
(`rustc_mir::interpret::InterpCx`)
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/interpret/memory.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_mir/interpret/memory.rs b/src/librustc_mir/interpret/memory.rs
index 49b9018fd17..8437399752e 100644
--- a/src/librustc_mir/interpret/memory.rs
+++ b/src/librustc_mir/interpret/memory.rs
@@ -474,7 +474,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
     }
 
     /// Gives raw access to the `Allocation`, without bounds or alignment checks.
-    /// Use the higher-level, `PlaceTy`- and `OpTy`-based APIs in `InterpCtx` instead!
+    /// Use the higher-level, `PlaceTy`- and `OpTy`-based APIs in `InterpCx` instead!
     pub fn get_raw(
         &self,
         id: AllocId,
@@ -511,7 +511,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
     }
 
     /// Gives raw mutable access to the `Allocation`, without bounds or alignment checks.
-    /// Use the higher-level, `PlaceTy`- and `OpTy`-based APIs in `InterpCtx` instead!
+    /// Use the higher-level, `PlaceTy`- and `OpTy`-based APIs in `InterpCx` instead!
     pub fn get_raw_mut(
         &mut self,
         id: AllocId,