We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7610210 commit 6b1b211Copy full SHA for 6b1b211
library/core/src/ptr/mod.rs
@@ -236,6 +236,10 @@
236
//!
237
//! Rust provides two ways of dealing with this situation: *Strict Provenance* and *Exposed Provenance*.
238
239
+//! Note that a pointer *can* represent a `usize` (via [`without_provenance`]), so the right type to
240
+//! use in situations where a value is "sometimes a pointer and sometimes a bare `usize`" is a
241
+//! pointer type.
242
+//!
243
//! ## Strict Provenance
244
245
//! "Strict Provenance" refers to a set of APIs designed to make working with provenance more
0 commit comments