Skip to content

Commit e0c155e

Browse files
committed
docs: Clarify deps of root binary crate
Signed-off-by: Joe Richey <[email protected]>
1 parent b8c0c8d commit e0c155e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/custom.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@ use core::num::NonZeroU32;
5353
/// where helper crates define handlers/allocators but only the binary crate
5454
/// actually _uses_ the functionality.
5555
///
56-
/// To register the function, we first depend on `getrandom` in `Cargo.toml`:
56+
/// To register the function, we first depend on `failure-getrandom` _and_
57+
/// `getrandom` in `Cargo.toml`:
5758
/// ```toml
5859
/// [dependencies]
60+
/// failure-getrandom = "0.1"
5961
/// getrandom = { version = "0.2", features = ["custom"] }
6062
/// ```
6163
///

0 commit comments

Comments
 (0)