diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-05-31 18:23:42 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-06-11 13:47:28 -0700 |
| commit | e9fd063edb4f6783fbd91a82a0f61626dacf8dad (patch) | |
| tree | aa482195798794cd021da59d3b556b366262e632 /src/liballoc_system | |
| parent | 0081d8826b00f4eaf217d4d68d54e715bd98dcb9 (diff) | |
| download | rust-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.rs | 1 |
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; |
