Skip to content

Commit bedc358

Browse files
authored
fix type name typo in doc comments
InterpCtx => InterpCx (rustc_mir::interpret::InterpCx)
1 parent 02046a5 commit bedc358

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
@@ -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)