From 756118e2b99e355ab9916a97efc45989d333fd1d Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sun, 26 Jun 2022 16:31:29 +0200 Subject: [PATCH] Update `std::alloc::System` docs --- library/std/src/alloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/alloc.rs b/library/std/src/alloc.rs index d554ec590358f..a05e0db3af716 100644 --- a/library/std/src/alloc.rs +++ b/library/std/src/alloc.rs @@ -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) {