crypto.rand: correct the error message in the shim
parent
5777706a58
commit
0363206bac
|
@ -5,5 +5,5 @@ module rand
|
||||||
|
|
||||||
// read returns an array of `bytes_needed` random bytes read from the OS.
|
// read returns an array of `bytes_needed` random bytes read from the OS.
|
||||||
pub fn read(bytes_needed int) ?[]byte {
|
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