@@ -53,13 +53,10 @@ pub mod rand_distr
5353 pub use rand_distr:: * ;
5454}
5555
56- /// Constructors for n-dimensional arrays with random elements.
57- ///
58- /// This trait extends ndarray’s `ArrayBase` and can not be implemented
59- /// for other types.
56+ /// Extension trait for constructing n-dimensional arrays with random elements.
6057///
6158/// The default RNG is a fast automatically seeded rng (currently
62- /// [`rand::rngs::SmallRng`], seeded from [`rand::thread_rng `]).
59+ /// [`rand::rngs::SmallRng`], seeded from [`rand::rng `]).
6360///
6461/// Note that `SmallRng` is cheap to initialize and fast, but it may generate
6562/// low-quality random numbers, and reproducibility is not guaranteed. See its
@@ -148,13 +145,10 @@ where
148145 D : RemoveAxis ;
149146}
150147
151- /// Constructors for sampling from [`ArrayRef`] with random elements.
152- ///
153- /// This trait extends ndarray’s `ArrayRef` and can not be implemented
154- /// for other types.
148+ /// Extension trait for sampling from [`ArrayRef`] with random elements.
155149///
156- /// The default RNG is a fast automatically seeded rng (currently
157- /// [`rand::rngs::SmallRng`], seeded from [`rand::thread_rng `]).
150+ /// The default RNG is a fast, automatically seeded rng (currently
151+ /// [`rand::rngs::SmallRng`], seeded from [`rand::rng `]).
158152///
159153/// Note that `SmallRng` is cheap to initialize and fast, but it may generate
160154/// low-quality random numbers, and reproducibility is not guaranteed. See its
0 commit comments