@@ -416,8 +416,8 @@ impl<T: ?Sized> *const T {
416416 /// If any of the following conditions are violated, the result is Undefined
417417 /// Behavior:
418418 ///
419- /// * Both the starting and resulting pointer must be either in bounds or one
420- /// byte past the end of the same [allocated object].
419+ /// * If the computed offset is non-zero, then both the starting and resulting pointer must be
420+ /// either in bounds or one byte past the end of the same [allocated object].
421421 ///
422422 /// * The computed offset, **in bytes**, cannot overflow an `isize`.
423423 ///
@@ -891,8 +891,8 @@ impl<T: ?Sized> *const T {
891891 /// If any of the following conditions are violated, the result is Undefined
892892 /// Behavior:
893893 ///
894- /// * Both the starting and resulting pointer must be either in bounds or one
895- /// byte past the end of the same [allocated object].
894+ /// * If the computed offset is non-zero, then both the starting and resulting pointer must be
895+ /// either in bounds or one byte past the end of the same [allocated object].
896896 ///
897897 /// * The computed offset, **in bytes**, cannot overflow an `isize`.
898898 ///
@@ -975,8 +975,8 @@ impl<T: ?Sized> *const T {
975975 /// If any of the following conditions are violated, the result is Undefined
976976 /// Behavior:
977977 ///
978- /// * Both the starting and resulting pointer must be either in bounds or one
979- /// byte past the end of the same [allocated object].
978+ /// * If the computed offset is non-zero, then both the starting and resulting pointer must be
979+ /// either in bounds or one byte past the end of the same [allocated object].
980980 ///
981981 /// * The computed offset cannot exceed `isize::MAX` **bytes**.
982982 ///
0 commit comments