about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-05-31 18:23:42 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-06-11 13:47:28 -0700
commite9fd063edb4f6783fbd91a82a0f61626dacf8dad (patch)
treeaa482195798794cd021da59d3b556b366262e632 /src/liballoc_system
parent0081d8826b00f4eaf217d4d68d54e715bd98dcb9 (diff)
downloadrust-e9fd063edb4f6783fbd91a82a0f61626dacf8dad.tar.gz
rust-e9fd063edb4f6783fbd91a82a0f61626dacf8dad.zip
Document memory allocation APIs
Add some docs where they were missing,
attempt to fix them where they were out of date.
Diffstat (limited to 'src/liballoc_system')
-rw-r--r--src/liballoc_system/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc_system/lib.rs b/src/liballoc_system/lib.rs
index 82fda8d639e..85bf43a5429 100644
--- a/src/liballoc_system/lib.rs
+++ b/src/liballoc_system/lib.rs
@@ -44,6 +44,7 @@ const MIN_ALIGN: usize = 16;
 use core::alloc::{Alloc, GlobalAlloc, AllocErr, Layout};
 use core::ptr::NonNull;
 
+/// The default memory allocator provided by the operating system.
 #[unstable(feature = "allocator_api", issue = "32838")]
 pub struct System;