From faa468f267c818148ea33f07c64ac4041a643744 Mon Sep 17 00:00:00 2001 From: Noam Koren Date: Sat, 20 Mar 2021 11:48:52 +0200 Subject: [PATCH] Update book to mention the min_const_gen feature --- src/guide-dist.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/guide-dist.md b/src/guide-dist.md index c689095..a8fd5d8 100644 --- a/src/guide-dist.md +++ b/src/guide-dist.md @@ -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