crypto.rand: correct the error message in the shim

pull/9325/head
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
1 changed files with 1 additions and 1 deletions

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')
}