@@ -465,8 +465,8 @@ impl<T: ?Sized> *const T {
465
465
/// If any of the following conditions are violated, the result is Undefined
466
466
/// Behavior:
467
467
///
468
- /// * If the computed offset is non-zero, then both the starting and resulting pointer must be
469
- /// either in bounds or one byte past the end of the same [allocated object].
468
+ /// * If the computed offset, **in bytes**, is non-zero, then both the starting and resulting
469
+ /// pointer must be either in bounds or at the end of the same [allocated object].
470
470
/// (If it is zero, then the function is always well-defined.)
471
471
///
472
472
/// * The computed offset, **in bytes**, cannot overflow an `isize`.
@@ -952,8 +952,8 @@ impl<T: ?Sized> *const T {
952
952
/// If any of the following conditions are violated, the result is Undefined
953
953
/// Behavior:
954
954
///
955
- /// * If the computed offset is non-zero, then both the starting and resulting pointer must be
956
- /// either in bounds or one byte past the end of the same [allocated object].
955
+ /// * If the computed offset, **in bytes**, is non-zero, then both the starting and resulting
956
+ /// pointer must be either in bounds or at the end of the same [allocated object].
957
957
/// (If it is zero, then the function is always well-defined.)
958
958
///
959
959
/// * The computed offset, **in bytes**, cannot overflow an `isize`.
@@ -1037,8 +1037,8 @@ impl<T: ?Sized> *const T {
1037
1037
/// If any of the following conditions are violated, the result is Undefined
1038
1038
/// Behavior:
1039
1039
///
1040
- /// * If the computed offset is non-zero, then both the starting and resulting pointer must be
1041
- /// either in bounds or one byte past the end of the same [allocated object].
1040
+ /// * If the computed offset, **in bytes**, is non-zero, then both the starting and resulting
1041
+ /// pointer must be either in bounds or at the end of the same [allocated object].
1042
1042
/// (If it is zero, then the function is always well-defined.)
1043
1043
///
1044
1044
/// * The computed offset cannot exceed `isize::MAX` **bytes**.
0 commit comments