Skip to content

Commit 43a4b69

Browse files
authored
Rollup merge of #70379 - JOE1994:patch-2, r=petrochenkov
fix incorrect type name in doc comments Change : `InterpCtx` => `InterpCx` (`rustc_mir::interpret::InterpCx`)
2 parents d70af9e + bedc358 commit 43a4b69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_mir/interpret/memory.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
473473
}
474474

475475
/// Gives raw access to the `Allocation`, without bounds or alignment checks.
476-
/// Use the higher-level, `PlaceTy`- and `OpTy`-based APIs in `InterpCtx` instead!
476+
/// Use the higher-level, `PlaceTy`- and `OpTy`-based APIs in `InterpCx` instead!
477477
pub fn get_raw(
478478
&self,
479479
id: AllocId,
@@ -510,7 +510,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
510510
}
511511

512512
/// Gives raw mutable access to the `Allocation`, without bounds or alignment checks.
513-
/// Use the higher-level, `PlaceTy`- and `OpTy`-based APIs in `InterpCtx` instead!
513+
/// Use the higher-level, `PlaceTy`- and `OpTy`-based APIs in `InterpCx` instead!
514514
pub fn get_raw_mut(
515515
&mut self,
516516
id: AllocId,

0 commit comments

Comments
 (0)