We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d4e71a commit 5aa4d25Copy full SHA for 5aa4d25
core/src/ptr/mod.rs
@@ -26,6 +26,7 @@
26
//! some memory happens to exist at that address and gets deallocated. This corresponds to writing
27
//! your own allocator: allocating zero-sized objects is not very hard. The canonical way to
28
//! obtain a pointer that is valid for zero-sized accesses is [`NonNull::dangling`].
29
+//FIXME: mention `ptr::invalid` above, once it is stable.
30
//! * All accesses performed by functions in this module are *non-atomic* in the sense
31
//! of [atomic operations] used to synchronize between threads. This means it is
32
//! undefined behavior to perform two concurrent accesses to the same location from different
0 commit comments