Skip to content

Commit 2924af6

Browse files
authored
Merge pull request #1183 from vks/fill-float-doc
Mention that `Fill` supports floats
2 parents dbbc1bf + a9401e1 commit 2924af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/distributions/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ use crate::Rng;
158158
/// * Tuples (up to 12 elements): each element is generated sequentially.
159159
/// * Arrays (up to 32 elements): each element is generated sequentially;
160160
/// see also [`Rng::fill`] which supports arbitrary array length for integer
161-
/// types and tends to be faster for `u32` and smaller types.
161+
/// and float types and tends to be faster for `u32` and smaller types.
162162
/// When using `rustc` ≥ 1.51, enable the `min_const_gen` feature to support
163163
/// arrays larger than 32 elements.
164164
/// Note that [`Rng::fill`] and `Standard`'s array support are *not* equivalent:

0 commit comments

Comments
 (0)