about summary refs log tree commit diff
path: root/src/liballoc/allocator.rs
diff options
context:
space:
mode:
authorBastien Orivel <eijebong@bananium.fr>2017-08-11 00:16:18 +0200
committerBastien Orivel <eijebong@bananium.fr>2017-08-11 00:16:18 +0200
commit47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de (patch)
treed322ab0b4256ce1b79dc63e2fab5e70a774c93c6 /src/liballoc/allocator.rs
parent2ac5f7d249e29ee48737359e0e6dd9e59701a568 (diff)
downloadrust-47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de.tar.gz
rust-47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de.zip
Fix some typos
Diffstat (limited to 'src/liballoc/allocator.rs')
-rw-r--r--src/liballoc/allocator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/allocator.rs b/src/liballoc/allocator.rs
index 42111301a9f..3ea7d349c9c 100644
--- a/src/liballoc/allocator.rs
+++ b/src/liballoc/allocator.rs
@@ -40,7 +40,7 @@ fn size_align<T>() -> (usize, usize) {
 ///
 /// (Note however that layouts are *not* required to have positive
 /// size, even though many allocators require that all memory
-/// requeusts have positive size. A caller to the `Alloc::alloc`
+/// requests have positive size. A caller to the `Alloc::alloc`
 /// method must either ensure that conditions like this are met, or
 /// use specific allocators with looser requirements.)
 #[derive(Clone, Debug, PartialEq, Eq)]