From 26d23c2f3592f311611cb126626c2940764a9e2a Mon Sep 17 00:00:00 2001 From: Aumetra Weisman Date: Thu, 21 Mar 2024 10:01:29 +0100 Subject: [PATCH] Update packages/std/src/memory.rs Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> (cherry picked from commit 666e709246fcf2d1d808095e1911dd0b4dfc71ad) --- packages/std/src/memory.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/std/src/memory.rs b/packages/std/src/memory.rs index 6ce55f323e..40ac8ff03a 100644 --- a/packages/std/src/memory.rs +++ b/packages/std/src/memory.rs @@ -79,7 +79,6 @@ pub unsafe fn consume_region(ptr: *mut Region) -> Vec { /// /// This is important to uphold the safety invariant of the `dealloc` method, which requires us to pass the same Layout /// into it as was used to allocate a memory region. -/// /// And since `size` is one of the parameters, it is important to pass in the exact same capacity. /// /// See: