We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d93954a commit ab44edfCopy full SHA for ab44edf
README.md
@@ -34,7 +34,7 @@ Then invoke the `getrandom` function:
34
fn get_random_buf() -> Result<[u8; 32], getrandom::Error> {
35
let mut buf = [0u8; 32];
36
getrandom::getrandom(&mut buf)?;
37
- buf
+ Ok(buf)
38
}
39
```
40
0 commit comments