Skip to content

Commit 413f3f7

Browse files
est31lcnr
andauthored
Fix typo
Co-authored-by: lcnr <[email protected]>
1 parent 5cc292e commit 413f3f7

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+1
-1
lines changed

compiler/rustc_const_eval/src/interpret/memory.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
10471047
// We need the `dest` ptr for the next operation, so we get it now.
10481048
// We already did the source checks and called the hooks so we are good to return early.
10491049
let Some((dest_alloc_id, dest_offset, dest)) = dest_parts else {
1050-
// Zero-sized *destiantion*.
1050+
// Zero-sized *destination*.
10511051
return Ok(());
10521052
};
10531053

0 commit comments

Comments
 (0)