Update std::alloc::System docs

This commit is contained in:
Lukas Wirth 2022-06-26 16:31:29 +02:00 committed by GitHub
parent 0e1a6fb463
commit 756118e2b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {