Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update book to mention the min_const_gen feature #37

Merged
merged 1 commit into from Apr 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/guide-dist.md
Expand Up @@ -72,6 +72,8 @@ Lets go over the distributions by type:
The [`Standard`] and [`Uniform`] distributions each support a selection of
these types (up to 12-tuples and 32-element arrays).
This includes the empty tuple `()` and array.
When using `rustc` ≥ 1.51, enable the `min_const_gen` feature to support
arrays larger than 32 elements.
- For SIMD types, each element is sampled as above, for [`Standard`] and
[`Uniform`] (for the latter, `low` and `high` parameters are *also* SIMD
types, effectively sampling from multiple ranges simultaneously). SIMD
Expand Down