Skip to content

Commit f71482e

Browse files
authored
readme: remove instruction for adding getrandom dependency (#822)
1 parent 4d82673 commit f71482e

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,7 @@ library like [`rand`].
1919

2020
[`rand`]: https://crates.io/crates/rand
2121

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:
22+
## Examples
3223

3324
```rust
3425
fn get_random_u128() -> Result<u128, getrandom::Error> {

0 commit comments

Comments
 (0)