Skip to content

Commit

Permalink
Fix doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Sep 11, 2024
1 parent a2cad08 commit e4c2daf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/distr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
//! [`Standard`] for more details.
//!
//! Implementing `Distribution<T>` for [`Standard`] for user types `T` makes it
//! possible to generate type `T` with [`Rng::random`], and by extension also
//! with the [`random`] function.
//! possible to generate type `T` with [`Rng::random`].
//!
//! ## Random characters
//!
Expand Down Expand Up @@ -88,8 +87,6 @@
//! [probability distribution]: https://en.wikipedia.org/wiki/Probability_distribution
//! [`rand_distr`]: https://crates.io/crates/rand_distr
//! [`statrs`]: https://crates.io/crates/statrs

//! [`random`]: crate::random
//! [`rand_distr`]: https://crates.io/crates/rand_distr
//! [`statrs`]: https://crates.io/crates/statrs

Expand Down
2 changes: 1 addition & 1 deletion src/rng.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use rand_core::RngCore;
/// This is the primary trait to use when generating random values. It may be
/// imported explicitly or via the prelude (`use rand::prelude::*;`) to enable
/// various methods on RNGs. This is unnnecessary for
/// [`ThreadRng`](crate::ThreadRng), [`StdRng`](crate::rngs::StdRng),
/// [`ThreadRng`](crate::rngs::ThreadRng), [`StdRng`](crate::rngs::StdRng),
/// [`SmallRng`](crate::rngs::SmallRng) and [`StepRng`](crate::rngs::mock::StepRng)
/// which implement `Rng` methods as inherent methods.
///
Expand Down

0 comments on commit e4c2daf

Please sign in to comment.