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:
parent
5777706a58
commit
0363206bac
@ -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')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user