Skip to content

Commit 9a9cb2d

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_mir/interpret/memory.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
474474
}
475475

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

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

0 commit comments

Comments
 (0)