Skip to content

Commit 666e709

Browse files
Update packages/std/src/memory.rs
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
1 parent c688732 commit 666e709

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/std/src/memory.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ pub unsafe fn consume_region(ptr: *mut Region) -> Vec<u8> {
7979
///
8080
/// This is important to uphold the safety invariant of the `dealloc` method, which requires us to pass the same Layout
8181
/// into it as was used to allocate a memory region.
82-
///
8382
/// And since `size` is one of the parameters, it is important to pass in the exact same capacity.
8483
///
8584
/// See: <https://doc.rust-lang.org/stable/alloc/alloc/trait.GlobalAlloc.html#safety-2>

0 commit comments

Comments
 (0)