Skip to content

Commit e6bf804

Browse files
authored
Mention the used rand version 0.9 in ndarray-rand (#1533)
ndarray-rand crate on the main branch uses the workspace rand and rand_distr versions, which are 0.9 and 0.5 respectively. This commit documents those versions at ndarray-rand's lib.rs' module level.
1 parent 6cd209b commit e6bf804

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ndarray-rand/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
//!
1313
//! ## Note
1414
//!
15-
//! `ndarray-rand` depends on [`rand` 0.8][rand].
15+
//! `ndarray-rand` depends on [`rand` 0.9][rand].
1616
//!
1717
//! [`rand`][rand] and [`rand_distr`][rand_distr]
1818
//! are re-exported as sub-modules, [`ndarray_rand::rand`](rand)
1919
//! and [`ndarray_rand::rand_distr`](rand_distr) respectively.
2020
//! You can use these submodules for guaranteed version compatibility or
2121
//! convenience.
2222
//!
23-
//! [rand]: https://docs.rs/rand/0.8
24-
//! [rand_distr]: https://docs.rs/rand_distr/0.4
23+
//! [rand]: https://docs.rs/rand/0.9
24+
//! [rand_distr]: https://docs.rs/rand_distr/0.5
2525
//!
2626
//! If you want to use a random number generator or distribution from another crate
2727
//! with `ndarray-rand`, you need to make sure that the other crate also depends on the

0 commit comments

Comments
 (0)