We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7de470b commit 7bb85f0Copy full SHA for 7bb85f0
library/core/src/ptr/mod.rs
@@ -66,6 +66,10 @@
66
//! a separate allocated object), and `static` variables.
67
//!
68
//! It is guaranteed that an allocated object never spans more than `isize::MAX` bytes.
69
+//! An allocated object can never contain the null address, and the address "at the end"
70
+//! (i.e., one past the last byte that is contained inside the allocated object) can always
71
+//! be computed without wrapping around the address space. (The last part is equivalent
72
+//! to saying that `usize::MAX` is never contained in an allocated object.)
73
74
//! # Strict Provenance
75
0 commit comments