We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24280da commit f3b61ebCopy full SHA for f3b61eb
core/src/ptr/mod.rs
@@ -15,8 +15,8 @@
15
//! The precise rules for validity are not determined yet. The guarantees that are
16
//! provided at this point are very minimal:
17
//!
18
-//! * For operations of [size zero][zst], *every* pointer is valid, including the [null] pointer.
19
-//! The following points are only concerned with non-zero-sized accesses.
+//! * For memory accesses of [size zero][zst], *every* pointer is valid, including the [null]
+//! pointer. The following points are only concerned with non-zero-sized accesses.
20
//! * A [null] pointer is *never* valid.
21
//! * For a pointer to be valid, it is necessary, but not always sufficient, that the pointer be
22
//! *dereferenceable*. The [provenance] of the pointer is used to determine which [allocated
0 commit comments