about summary refs log tree commit diff
path: root/src/librustc
diff options
context:
space:
mode:
authorOliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer <github35764891676564198441@oli-obk.de>2018-11-25 14:21:34 +0100
committerGitHub <noreply@github.com>2018-11-25 14:21:34 +0100
commit2472e832503995a024a6fbf533b504a0d0bf9e9c (patch)
tree7980992e72cd2663932fae38438bbefe007a3f6b /src/librustc
parenta6ea01f2396a55c5245b93b8f9c6edd3c5a0e204 (diff)
downloadrust-2472e832503995a024a6fbf533b504a0d0bf9e9c.tar.gz
rust-2472e832503995a024a6fbf533b504a0d0bf9e9c.zip
Typo
Co-Authored-By: RalfJung <post@ralfj.de>
Diffstat (limited to 'src/librustc')
-rw-r--r--src/librustc/mir/interpret/allocation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/interpret/allocation.rs b/src/librustc/mir/interpret/allocation.rs
index 0ecec753398..ab63e882c4a 100644
--- a/src/librustc/mir/interpret/allocation.rs
+++ b/src/librustc/mir/interpret/allocation.rs
@@ -174,7 +174,7 @@ impl<'tcx, Tag: Copy, Extra: AllocationExtra<Tag>> Allocation<Tag, Extra> {
             Some(size) => {
                 let size_with_null = Size::from_bytes((size + 1) as u64);
                 // Go through `get_bytes` for checks and AllocationExtra hooks.
-                // We read the null, so we include it in the requestm, but we want it removed
+                // We read the null, so we include it in the request, but we want it removed
                 // from the result!
                 Ok(&self.get_bytes(cx, ptr, size_with_null)?[..size])
             }