Skip to content

Commit 22ba98f

Browse files
authored
Consistent capitalization for deprecated function names in documentation (#1567)
1 parent 664fb3c commit 22ba98f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub use crate::rngs::thread::rng;
114114
///
115115
/// Use [`rand::rng()`](rng()) instead.
116116
#[cfg(feature = "thread_rng")]
117-
#[deprecated(since = "0.9.0", note = "renamed to `rng`")]
117+
#[deprecated(since = "0.9.0", note = "Renamed to `rng`")]
118118
#[inline]
119119
pub fn thread_rng() -> crate::rngs::ThreadRng {
120120
rng()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy