Skip to content
Snippets Groups Projects
Unverified Commit ab44edf3 authored by Artyom Pavlov's avatar Artyom Pavlov Committed by GitHub
Browse files

fix readme example

parent d93954a1
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ Then invoke the `getrandom` function:
fn get_random_buf() -> Result<[u8; 32], getrandom::Error> {
let mut buf = [0u8; 32];
getrandom::getrandom(&mut buf)?;
buf
Ok(buf)
}
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment