Skip to content

Commit

Permalink
Merge pull request #1183 from vks/fill-float-doc
Browse files Browse the repository at this point in the history
Mention that `Fill` supports floats
  • Loading branch information
dhardy committed Feb 11, 2022
2 parents dbbc1bf + a9401e1 commit 2924af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distributions/mod.rs
Expand Up @@ -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:
Expand Down

0 comments on commit 2924af6

Please sign in to comment.