Remove duplicate word from addr docs

This commit is contained in:
Cole Kauder-McMurrich 2024-05-16 16:16:38 -04:00
parent 2d89cee625
commit d8b9717038
No known key found for this signature in database
GPG Key ID: 1BA367ABEFACF7D2

View File

@ -187,7 +187,7 @@ impl<T: ?Sized> *mut T {
///
/// This is similar to `self as usize`, which semantically discards *provenance* and
/// *address-space* information. However, unlike `self as usize`, casting the returned address
/// back to a pointer yields yields a [pointer without provenance][without_provenance_mut], which is undefined
/// back to a pointer yields a [pointer without provenance][without_provenance_mut], which is undefined
/// behavior to dereference. To properly restore the lost information and obtain a
/// dereferenceable pointer, use [`with_addr`][pointer::with_addr] or
/// [`map_addr`][pointer::map_addr].