@@ -275,13 +275,13 @@ function unsafe_copyto!(dest::Ptr{T}, src::Ptr{T}, n) where T
275275end
276276
277277"""
278- unsafe_copyto!(dest::Array, do , src::Array, so, N )
278+ unsafe_copyto!(dest::Array, doffs , src::Array, soffs, n )
279279
280- Copy `N ` elements from a source array to a destination, starting at the linear index `so ` in the
281- source and `do ` in the destination (1-indexed).
280+ Copy `n ` elements from a source array to a destination, starting at the linear index `soffs ` in the
281+ source and `doffs ` in the destination (1-indexed).
282282
283283The `unsafe` prefix on this function indicates that no validation is performed to ensure
284- that N is inbounds on either array. Incorrect usage may corrupt or segfault your program, in
284+ that n is inbounds on either array. Incorrect usage may corrupt or segfault your program, in
285285the same manner as C.
286286"""
287287function unsafe_copyto! (dest:: Array , doffs, src:: Array , soffs, n)
@@ -291,10 +291,10 @@ function unsafe_copyto!(dest::Array, doffs, src::Array, soffs, n)
291291end
292292
293293"""
294- copyto!(dest, do , src, so, N )
294+ copyto!(dest, doffs , src, soffs, n )
295295
296- Copy `N ` elements from collection `src` starting at the linear index `so `, to array `dest` starting at
297- the index `do `. Return `dest`.
296+ Copy `n ` elements from collection `src` starting at the linear index `soffs `, to array `dest` starting at
297+ the index `doffs `. Return `dest`.
298298"""
299299copyto! (dest:: Array , doffs:: Integer , src:: Array , soffs:: Integer , n:: Integer ) = _copyto_impl! (dest, doffs, src, soffs, n)
300300copyto! (dest:: Array , doffs:: Integer , src:: Memory , soffs:: Integer , n:: Integer ) = _copyto_impl! (dest, doffs, src, soffs, n)
0 commit comments