Skip to content

Commit 2472e83

Browse files
oli-obkRalfJung
andauthored
Typo
Co-Authored-By: RalfJung <[email protected]>
1 parent a6ea01f commit 2472e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/interpret/allocation.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl<'tcx, Tag: Copy, Extra: AllocationExtra<Tag>> Allocation<Tag, Extra> {
174174
Some(size) => {
175175
let size_with_null = Size::from_bytes((size + 1) as u64);
176176
// Go through `get_bytes` for checks and AllocationExtra hooks.
177-
// We read the null, so we include it in the requestm, but we want it removed
177+
// We read the null, so we include it in the request, but we want it removed
178178
// from the result!
179179
Ok(&self.get_bytes(cx, ptr, size_with_null)?[..size])
180180
}

0 commit comments

Comments
 (0)