From 369d11587339ce74f8ebc76f2607fe55545eaf7d Mon Sep 17 00:00:00 2001 From: garhve Date: Tue, 20 Dec 2022 11:04:25 +0800 Subject: Build small project following the book --- .../guessing_game/target/doc/rand/fn.thread_rng.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/fn.thread_rng.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/fn.thread_rng.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/fn.thread_rng.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/fn.thread_rng.html new file mode 100644 index 0000000..b620c7f --- /dev/null +++ b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/fn.thread_rng.html @@ -0,0 +1,8 @@ +thread_rng in rand - Rust
pub fn thread_rng() -> ThreadRng
Expand description

Retrieve the lazily-initialized thread-local random number generator, +seeded by the system. Intended to be used in method chaining style, +e.g. thread_rng().gen::<i32>(), or cached locally, e.g. +let mut rng = thread_rng();. Invoked by the Default trait, making +ThreadRng::default() equivalent.

+

For more information see ThreadRng.

+
\ No newline at end of file -- cgit v1.2.3-70-g09d2