aboutsummaryrefslogtreecommitdiff
path: root/src/distributions/mod.rs
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:01:25 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:01:25 +0000
commit88b69a31e458fe35b143e5c90c4a641cbab5e9b1 (patch)
tree369e273affe8fedc061e4b74319fcf9b418aa961 /src/distributions/mod.rs
parent4dabd850288094946be4feb9890e2f00382f9500 (diff)
parent237bc83fbfa14335404c620caa3c986e712348d9 (diff)
downloadrand-android13-frc-resolv-release.tar.gz
Snap for 8512216 from 237bc83fbfa14335404c620caa3c986e712348d9 to tm-frc-resolv-releaset_frc_res_330443000android13-frc-resolv-release
Change-Id: I740547fb1e350da5457bbdc9aa97addbc11a4eb7
Diffstat (limited to 'src/distributions/mod.rs')
-rw-r--r--src/distributions/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/distributions/mod.rs b/src/distributions/mod.rs
index e308668..05ca806 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: