We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
getrandom
1 parent 4d82673 commit f71482eCopy full SHA for f71482e
1 file changed
README.md
@@ -19,16 +19,7 @@ library like [`rand`].
19
20
[`rand`]: https://crates.io/crates/rand
21
22
-## Usage
23
-
24
-Add the `getrandom` dependency to your `Cargo.toml` file:
25
26
-```toml
27
-[dependencies]
28
-getrandom = "0.3"
29
-```
30
31
-Then invoke the `fill` function on a byte buffer to fill it with random data:
+## Examples
32
33
```rust
34
fn get_random_u128() -> Result<u128, getrandom::Error> {
0 commit comments