From 22ba98fb19e705caad56cfeb1d9cf3295eefc7cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B8rn=20Yttersian?= Date: Tue, 28 Jan 2025 16:44:58 +0100 Subject: [PATCH] Consistent capitalization for deprecated function names in documentation (#1567) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e1a9ef4ddc..d3ab8364aa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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()