Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions library/core/src/ptr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@
//!
//! Allocations typically have a fixed size that cannot change. However, allocations created by
//! directly invoking page table operations of the operating system, e.g. via `mmap`, are allowed to
//! grow by adding more pages to them at the end. Unmapping parts of an allocation (i.e., shrinking
//! it or punching holes into it) is currently not supported. Allocations created via
//! "compiler-recognized" operations, such as `std::alloc` methods or `libc::malloc`, can never
//! change their size, even if they use `mmap` under the hood.
//! grow by adding more pages to them at the end. Adding more pages before the beginning, or
//! unmapping parts of an allocation (i.e., shrinking it or punching holes into it), is currently
//! not supported. Allocations created via "compiler-recognized" operations, such as `std::alloc`
//! methods or `libc::malloc`, can never change their size, even if they use `mmap` under the hood.
//!
//! [`null()`]: null
//!
Expand Down
Loading