You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rand_coreCargo.toml doesn't specify std as a default feature (fine) but also doesn't specify it with docs.rs metadata fields, so when looking at the rand_core docs, the OsRng type does not appear anywhere in the rendered docs. This is confusing to match up with code that uses rand_core::OsRng.
Adding
[package.metadata.docs.rs]
features = ["std"]
is one potential fix to this issue.
The text was updated successfully, but these errors were encountered:
The
rand_core
Cargo.toml
doesn't specifystd
as a default feature (fine) but also doesn't specify it with docs.rs metadata fields, so when looking at therand_core
docs, theOsRng
type does not appear anywhere in the rendered docs. This is confusing to match up with code that usesrand_core::OsRng
.Adding
is one potential fix to this issue.
The text was updated successfully, but these errors were encountered: