@@ -988,7 +988,7 @@ impl<T: ?Sized> NonNull<T> {
988988 unsafe { ptr:: read_unaligned ( self . as_ptr ( ) ) }
989989 }
990990
991- /// Copies `count * size_of<T>` bytes from `self` to `dest`. The source
991+ /// Copies `count * size_of:: <T>() ` bytes from `self` to `dest`. The source
992992 /// and destination may overlap.
993993 ///
994994 /// NOTE: this has the *same* argument order as [`ptr::copy`].
@@ -1008,7 +1008,7 @@ impl<T: ?Sized> NonNull<T> {
10081008 unsafe { ptr:: copy ( self . as_ptr ( ) , dest. as_ptr ( ) , count) }
10091009 }
10101010
1011- /// Copies `count * size_of<T>` bytes from `self` to `dest`. The source
1011+ /// Copies `count * size_of:: <T>() ` bytes from `self` to `dest`. The source
10121012 /// and destination may *not* overlap.
10131013 ///
10141014 /// NOTE: this has the *same* argument order as [`ptr::copy_nonoverlapping`].
@@ -1028,7 +1028,7 @@ impl<T: ?Sized> NonNull<T> {
10281028 unsafe { ptr:: copy_nonoverlapping ( self . as_ptr ( ) , dest. as_ptr ( ) , count) }
10291029 }
10301030
1031- /// Copies `count * size_of<T>` bytes from `src` to `self`. The source
1031+ /// Copies `count * size_of:: <T>() ` bytes from `src` to `self`. The source
10321032 /// and destination may overlap.
10331033 ///
10341034 /// NOTE: this has the *opposite* argument order of [`ptr::copy`].
@@ -1048,7 +1048,7 @@ impl<T: ?Sized> NonNull<T> {
10481048 unsafe { ptr:: copy ( src. as_ptr ( ) , self . as_ptr ( ) , count) }
10491049 }
10501050
1051- /// Copies `count * size_of<T>` bytes from `src` to `self`. The source
1051+ /// Copies `count * size_of:: <T>() ` bytes from `src` to `self`. The source
10521052 /// and destination may *not* overlap.
10531053 ///
10541054 /// NOTE: this has the *opposite* argument order of [`ptr::copy_nonoverlapping`].
0 commit comments