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

crypto.rand: correct the error message in the shim

This commit is contained in:
Delyan Angelov 2021-03-16 11:25:59 +02:00
parent 5777706a58
commit 0363206bac
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -5,5 +5,5 @@ module rand
// read returns an array of `bytes_needed` random bytes read from the OS.
pub fn read(bytes_needed int) ?[]byte {
return error('crypto.read is not implemented on this platform')
return error('rand.read is not implemented on this platform')
}