@@ -2085,7 +2085,8 @@ pub mod raw {
2085
2085
* Copies `count` bytes from `src` to `dst`. The source and destination
2086
2086
* may overlap.
2087
2087
*/
2088
- pub unsafe fn copy_memory < T > ( dst : & [ mut T ] , src : & [ const T ] , count : uint ) {
2088
+ pub unsafe fn copy_memory < T > ( dst : & [ mut T ] , src : & [ const T ] ,
2089
+ count : uint ) {
2089
2090
assert dst. len ( ) >= count;
2090
2091
assert src. len ( ) >= count;
2091
2092
@@ -2102,7 +2103,8 @@ pub mod raw {
2102
2103
* Copies `count` bytes from `src` to `dst`. The source and destination
2103
2104
* may overlap.
2104
2105
*/
2105
- pub unsafe fn copy_overlapping_memory < T > ( dst : & [ mut T ] , src : & [ const T ] , count : uint ) {
2106
+ pub unsafe fn copy_overlapping_memory < T > ( dst : & [ mut T ] , src : & [ const T ] ,
2107
+ count : uint ) {
2106
2108
assert dst. len ( ) >= count;
2107
2109
assert src. len ( ) >= count;
2108
2110
@@ -2178,7 +2180,8 @@ pub mod bytes {
2178
2180
* Copies `count` bytes from `src` to `dst`. The source and destination
2179
2181
* may overlap.
2180
2182
*/
2181
- pub fn copy_overlapping_memory ( dst : & [ mut u8] , src : & [ const u8 ] , count : uint ) {
2183
+ pub fn copy_overlapping_memory ( dst : & [ mut u8] , src : & [ const u8 ] ,
2184
+ count : uint ) {
2182
2185
// Bound checks are done at vec::raw::copy_overlapping_memory.
2183
2186
unsafe { vec:: raw:: copy_overlapping_memory ( dst, src, count) }
2184
2187
}
0 commit comments