Update std::alloc::System
docs
This commit is contained in:
parent
0e1a6fb463
commit
756118e2b9
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ pub use alloc_crate::alloc::*;
|
|||
/// if !ret.is_null() {
|
||||
/// ALLOCATED.fetch_add(layout.size(), SeqCst);
|
||||
/// }
|
||||
/// return ret
|
||||
/// ret
|
||||
/// }
|
||||
///
|
||||
/// unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue