Fix typo
Co-authored-by: lcnr <rust@lcnr.de>
This commit is contained in:
parent
5cc292eb1d
commit
413f3f787c
1 changed files with 1 additions and 1 deletions
|
@ -1047,7 +1047,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
|
|||
// We need the `dest` ptr for the next operation, so we get it now.
|
||||
// We already did the source checks and called the hooks so we are good to return early.
|
||||
let Some((dest_alloc_id, dest_offset, dest)) = dest_parts else {
|
||||
// Zero-sized *destiantion*.
|
||||
// Zero-sized *destination*.
|
||||
return Ok(());
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue