1
Fork 0

raw pointer metadata API: data address -> data pointer

This commit is contained in:
Ralf Jung 2024-01-27 14:08:29 +01:00
parent 8b6a431b3d
commit b4e1c569fe
7 changed files with 19 additions and 19 deletions

View file

@ -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")]