1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

array.v: fix the build

This commit is contained in:
Alexander Medvednikov 2020-02-07 09:22:52 +01:00
parent f241945d70
commit b23854b2ab

View File

@ -370,8 +370,8 @@ pub fn (b []byte) hex() string {
// QTODO
ptr += C.sprintf(ptr as charptr, '%02x', b[i])
}
return hex as string
//return string(hex)
//return hex as string
return string(hex)
}
// copy copies the `src` byte array elements to the `dst` byte array.