diff options
| author | Youngsuk Kim <joseph942010@gmail.com> | 2020-03-24 21:34:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-24 21:34:36 -0400 |
| commit | bedc3587cee29d63d78f943dd332b1d01b16ee6d (patch) | |
| tree | a26158ba661f90a152f2869754ba4310dbe435ce | |
| parent | 02046a5d402c789c006d0da7662f800fe3c45faf (diff) | |
| download | rust-bedc3587cee29d63d78f943dd332b1d01b16ee6d.tar.gz rust-bedc3587cee29d63d78f943dd332b1d01b16ee6d.zip | |
fix type name typo in doc comments
InterpCtx => InterpCx (rustc_mir::interpret::InterpCx)
| -rw-r--r-- | src/librustc_mir/interpret/memory.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_mir/interpret/memory.rs b/src/librustc_mir/interpret/memory.rs index 110f2ffd9d7..f01e6c2e842 100644 --- a/src/librustc_mir/interpret/memory.rs +++ b/src/librustc_mir/interpret/memory.rs @@ -473,7 +473,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, @@ -510,7 +510,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, |
