Skip to content

Commit c1c40d7

Browse files
committed
allocator::win32::VirtualCommit: fix bogus reference to HEAP_ZERO_MEMORY
1 parent 922682b commit c1c40d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/allocator/win32/virtual_.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ unsafe impl Stateless for VirtualCommit {}
5353
/// | `exclusive` | ✔️ Allocations by [`VirtualAlloc`] are exclusive/unique
5454
/// | `exceptions` | ✔️ [`VirtualAlloc`] returns null on error per docs, page structures live outside of process memory where they're "incorruptable"
5555
/// | `threads` | ⚠️ As everything builds upon `Virtual*`, and Microsoft isn't a bunch of dummies, [`VirtualAlloc`] *should* should be thread safe, although it's poorly documented
56-
/// | `zeroed` | ✔️ Validated via [`thin::test::zeroed_alloc`], correct use of [`HEAP_ZERO_MEMORY`]
56+
/// | `zeroed` | ✔️ Validated via [`thin::test::zeroed_alloc`]. Allocations of commited memory by [`VirtualAlloc`] are documented to always be zero.
5757
///
5858
#[doc = include_str!("_refs.md")]
5959
// SAFETY: per above

0 commit comments

Comments
 (0)