about summary refs log tree commit diff
path: root/src/liballoc/allocator.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-12 05:52:19 +0000
committerbors <bors@rust-lang.org>2017-08-12 05:52:19 +0000
commitbffc973da8a7045d6ad5c678eab6fd57ab49ed54 (patch)
treec82789a97e71ccb047782f41ffc96b7500f78706 /src/liballoc/allocator.rs
parent2fa5340318111d562af2ef4897c75916731d55a2 (diff)
parentea5be96bab45a68d5877acdfab88404df7376209 (diff)
downloadrust-bffc973da8a7045d6ad5c678eab6fd57ab49ed54.tar.gz
rust-bffc973da8a7045d6ad5c678eab6fd57ab49ed54.zip
Auto merge of #43794 - Eijebong:fix_typos, r=lukaramu,steveklanik,imperio
Fix some typos

I wrote a really naive script and found those typos in the documentation.
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)]