Skip to content

Commit 73befa4

Browse files
committed
Fix link do deprecated module
1 parent 8ec453f commit 73befa4

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
@@ -79,7 +79,7 @@
7979
//! the [`Bernoulli`] distribution (this is used by [`Rng::gen_bool`]).
8080
//!
8181
//! For weighted sampling from a sequence of discrete values, use the
82-
//! [`weighted`] module.
82+
//! [`WeightedIndex`] distribution.
8383
//!
8484
//! This crate no longer includes other non-uniform distributions; instead
8585
//! it is recommended that you use either [`rand_distr`] or [`statrs`].

0 commit comments

Comments
 (0)