raw pointer metadata API: data address -> data pointer
This commit is contained in:
parent
8b6a431b3d
commit
b4e1c569fe
7 changed files with 19 additions and 19 deletions
|
@ -285,7 +285,7 @@ impl<T: ?Sized> *const T {
|
|||
self.with_addr(f(self.addr()))
|
||||
}
|
||||
|
||||
/// Decompose a (possibly wide) pointer into its address and metadata components.
|
||||
/// Decompose a (possibly wide) pointer into its data pointer and metadata components.
|
||||
///
|
||||
/// The pointer can be later reconstructed with [`from_raw_parts`].
|
||||
#[unstable(feature = "ptr_metadata", issue = "81513")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue