From a9401e16b707c6554632d5d7b6af347e4ea748f9 Mon Sep 17 00:00:00 2001 From: Vinzent Steinberg Date: Wed, 15 Sep 2021 18:55:08 +0200 Subject: [PATCH] Mention that `Fill` supports floats --- src/distributions/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/distributions/mod.rs b/src/distributions/mod.rs index e3086680b71..05ca80606b0 100644 --- a/src/distributions/mod.rs +++ b/src/distributions/mod.rs @@ -158,7 +158,7 @@ use crate::Rng; /// * Tuples (up to 12 elements): each element is generated sequentially. /// * Arrays (up to 32 elements): each element is generated sequentially; /// see also [`Rng::fill`] which supports arbitrary array length for integer -/// types and tends to be faster for `u32` and smaller types. +/// and float types and tends to be faster for `u32` and smaller types. /// When using `rustc` ≥ 1.51, enable the `min_const_gen` feature to support /// arrays larger than 32 elements. /// Note that [`Rng::fill`] and `Standard`'s array support are *not* equivalent: