fix type name typo in doc comments
InterpCtx => InterpCx (rustc_mir::interpret::InterpCx)
This commit is contained in:
parent
02046a5d40
commit
bedc3587ce
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue