Skip to content

Commit

Permalink
Consistent capitalization for deprecated function names in documentat…
Browse files Browse the repository at this point in the history
…ion (#1567)
  • Loading branch information
yttersian authored Jan 28, 2025
1 parent 664fb3c commit 22ba98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub use crate::rngs::thread::rng;
///
/// Use [`rand::rng()`](rng()) instead.
#[cfg(feature = "thread_rng")]
#[deprecated(since = "0.9.0", note = "renamed to `rng`")]
#[deprecated(since = "0.9.0", note = "Renamed to `rng`")]
#[inline]
pub fn thread_rng() -> crate::rngs::ThreadRng {
rng()
Expand Down

0 comments on commit 22ba98f

Please sign in to comment.