mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: add mut for the first parameter of builtin.copy, arrays.copy and crypto (#13702)
This commit is contained in:
@@ -50,6 +50,6 @@ interface BlockMode {
|
||||
|
||||
// fn dup(p []byte) []byte {
|
||||
// q := make([]byte, p.len)
|
||||
// copy(q, p)
|
||||
// copy(mut q, p)
|
||||
// return q
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user