We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c688732 commit 666e709Copy full SHA for 666e709
packages/std/src/memory.rs
@@ -79,7 +79,6 @@ pub unsafe fn consume_region(ptr: *mut Region) -> Vec<u8> {
79
///
80
/// This is important to uphold the safety invariant of the `dealloc` method, which requires us to pass the same Layout
81
/// into it as was used to allocate a memory region.
82
-///
83
/// And since `size` is one of the parameters, it is important to pass in the exact same capacity.
84
85
/// See: <https://doc.rust-lang.org/stable/alloc/alloc/trait.GlobalAlloc.html#safety-2>
0 commit comments