@@ -352,7 +352,7 @@ impl<T: ?Sized> *const T {
352352 ///
353353 /// * The computed offset, `count * size_of::<T>()` bytes, must not overflow `isize`.
354354 ///
355- /// * If the computed offset is non-zero, then `self` must be derived from a pointer to some
355+ /// * If the computed offset is non-zero, then `self` must be [ derived from][crate::ptr#provenance] a pointer to some
356356 /// [allocated object], and the entire memory range between `self` and the result must be in
357357 /// bounds of that allocated object. In particular, this range must not "wrap around" the edge
358358 /// of the address space.
@@ -556,7 +556,7 @@ impl<T: ?Sized> *const T {
556556 /// * `self` and `origin` must either
557557 ///
558558 /// * point to the same address, or
559- /// * both be * derived from* a pointer to the same [allocated object], and the memory range between
559+ /// * both be [ derived from][crate::ptr#provenance] a pointer to the same [allocated object], and the memory range between
560560 /// the two pointers must be in bounds of that object. (See below for an example.)
561561 ///
562562 /// * The distance between the pointers, in bytes, must be an exact multiple
@@ -813,7 +813,7 @@ impl<T: ?Sized> *const T {
813813 ///
814814 /// * The computed offset, `count * size_of::<T>()` bytes, must not overflow `isize`.
815815 ///
816- /// * If the computed offset is non-zero, then `self` must be derived from a pointer to some
816+ /// * If the computed offset is non-zero, then `self` must be [ derived from][crate::ptr#provenance] a pointer to some
817817 /// [allocated object], and the entire memory range between `self` and the result must be in
818818 /// bounds of that allocated object. In particular, this range must not "wrap around" the edge
819819 /// of the address space.
@@ -887,7 +887,7 @@ impl<T: ?Sized> *const T {
887887 ///
888888 /// * The computed offset, `count * size_of::<T>()` bytes, must not overflow `isize`.
889889 ///
890- /// * If the computed offset is non-zero, then `self` must be derived from a pointer to some
890+ /// * If the computed offset is non-zero, then `self` must be [ derived from][crate::ptr#provenance] a pointer to some
891891 /// [allocated object], and the entire memory range between `self` and the result must be in
892892 /// bounds of that allocated object. In particular, this range must not "wrap around" the edge
893893 /// of the address space.
0 commit comments