about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer <github35764891676564198441@oli-obk.de>2018-11-20 09:47:36 +0100
committerRalf Jung <post@ralfj.de>2018-11-25 10:49:43 +0100
commit349271ab2c795b068dd208176fe00d9b257ab4f0 (patch)
treebf34887a8c3f5806dba26444f0530011bc06838a
parentfb8b1e39893d009342fa4ec5e524787f56a7aea0 (diff)
Typo
Co-Authored-By: RalfJung <post@ralfj.de>
-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 d6c740794d5..c1ce11a9821 100644
--- a/src/librustc/mir/interpret/allocation.rs
+++ b/src/librustc/mir/interpret/allocation.rs
@@ -55,7 +55,7 @@ pub struct Allocation<Tag=(),Extra=()> {
 
 
 pub trait AllocationExtra<Tag, MemoryExtra>: ::std::fmt::Debug + Clone {
-    /// Hook to initialize the extra data when an allocation gets crated.
+    /// Hook to initialize the extra data when an allocation gets created.
     fn memory_allocated(
         _size: Size,
         _memory_extra: &MemoryExtra