Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlf committed Oct 22, 2023
1 parent 87ef2e9 commit ba5bfa7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions library/core/src/ptr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@
//! a separate allocated object), and `static` variables.
//!
//! It is guaranteed that an allocated object never spans more than `isize::MAX` bytes.
//! An allocated object cannot contain the last (`usize::MAX`) byte of the address space.
//! As a consequence, any address which is either in the allocated object or one byte past
//! the last address in the allocated object can be computed without wrapping around the
//! address space.
//! An allocated object cannot contain [`null()`] and cannot contain the last (`usize::MAX`) byte
//! of the address space. As a consequence, any address which is either in the allocated object or
//! one byte past the last address in the allocated object can be computed without wrapping around
//! the address space.
//!
//! [`null()`]: null
//!
//! # Strict Provenance
//!
Expand Down

0 comments on commit ba5bfa7

Please sign in to comment.