@@ -1024,7 +1024,7 @@ pub const fn slice_from_raw_parts_mut<T>(data: *mut T, len: usize) -> *mut [T] {
10241024///
10251025/// * Both `x` and `y` must be properly aligned.
10261026///
1027- /// Note that even if `T` has size `0`, the pointers must be non-null and properly aligned.
1027+ /// Note that even if `T` has size `0`, the pointers must be properly aligned.
10281028///
10291029/// [valid]: self#safety
10301030///
@@ -1110,7 +1110,7 @@ pub const unsafe fn swap<T>(x: *mut T, y: *mut T) {
11101110/// beginning at `y` with the same size.
11111111///
11121112/// Note that even if the effectively copied size (`count * size_of::<T>()`) is `0`,
1113- /// the pointers must be non-null and properly aligned.
1113+ /// the pointers must be properly aligned.
11141114///
11151115/// [valid]: self#safety
11161116///
@@ -1243,7 +1243,7 @@ const unsafe fn swap_nonoverlapping_simple_untyped<T>(x: *mut T, y: *mut T, coun
12431243///
12441244/// * `dst` must point to a properly initialized value of type `T`.
12451245///
1246- /// Note that even if `T` has size `0`, the pointer must be non-null and properly aligned.
1246+ /// Note that even if `T` has size `0`, the pointer must be properly aligned.
12471247///
12481248/// [valid]: self#safety
12491249///
@@ -1300,7 +1300,7 @@ pub const unsafe fn replace<T>(dst: *mut T, src: T) -> T {
13001300///
13011301/// * `src` must point to a properly initialized value of type `T`.
13021302///
1303- /// Note that even if `T` has size `0`, the pointer must be non-null and properly aligned.
1303+ /// Note that even if `T` has size `0`, the pointer must be properly aligned.
13041304///
13051305/// # Examples
13061306///
@@ -1555,7 +1555,7 @@ pub const unsafe fn read_unaligned<T>(src: *const T) -> T {
15551555/// * `dst` must be properly aligned. Use [`write_unaligned`] if this is not the
15561556/// case.
15571557///
1558- /// Note that even if `T` has size `0`, the pointer must be non-null and properly aligned.
1558+ /// Note that even if `T` has size `0`, the pointer must be properly aligned.
15591559///
15601560/// [valid]: self#safety
15611561///
@@ -1774,7 +1774,7 @@ pub const unsafe fn write_unaligned<T>(dst: *mut T, src: T) {
17741774/// However, storing non-[`Copy`] types in volatile memory is almost certainly
17751775/// incorrect.
17761776///
1777- /// Note that even if `T` has size `0`, the pointer must be non-null and properly aligned.
1777+ /// Note that even if `T` has size `0`, the pointer must be properly aligned.
17781778///
17791779/// [valid]: self#safety
17801780/// [read-ownership]: read#ownership-of-the-returned-value
@@ -1853,7 +1853,7 @@ pub unsafe fn read_volatile<T>(src: *const T) -> T {
18531853///
18541854/// * `dst` must be properly aligned.
18551855///
1856- /// Note that even if `T` has size `0`, the pointer must be non-null and properly aligned.
1856+ /// Note that even if `T` has size `0`, the pointer must be properly aligned.
18571857///
18581858/// [valid]: self#safety
18591859///
0 commit comments