summaryrefslogtreecommitdiffstats
path: root/vendor/rand-0.7.3/src/prelude.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
commit64d98f8ee037282c35007b64c2649055c56af1db (patch)
tree5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /vendor/rand-0.7.3/src/prelude.rs
parentAdding debian version 1.67.1+dfsg1-1. (diff)
downloadrustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz
rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/rand-0.7.3/src/prelude.rs')
-rw-r--r--vendor/rand-0.7.3/src/prelude.rs33
1 files changed, 0 insertions, 33 deletions
diff --git a/vendor/rand-0.7.3/src/prelude.rs b/vendor/rand-0.7.3/src/prelude.rs
deleted file mode 100644
index 98ae3bb43..000000000
--- a/vendor/rand-0.7.3/src/prelude.rs
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2018 Developers of the Rand project.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-//! Convenience re-export of common members
-//!
-//! Like the standard library's prelude, this module simplifies importing of
-//! common items. Unlike the standard prelude, the contents of this module must
-//! be imported manually:
-//!
-//! ```
-//! use rand::prelude::*;
-//! # let mut r = StdRng::from_rng(thread_rng()).unwrap();
-//! # let _: f32 = r.gen();
-//! ```
-
-#[doc(no_inline)] pub use crate::distributions::Distribution;
-#[cfg(feature = "small_rng")]
-#[doc(no_inline)]
-pub use crate::rngs::SmallRng;
-#[doc(no_inline)] pub use crate::rngs::StdRng;
-#[doc(no_inline)]
-#[cfg(feature = "std")]
-pub use crate::rngs::ThreadRng;
-#[doc(no_inline)] pub use crate::seq::{IteratorRandom, SliceRandom};
-#[doc(no_inline)]
-#[cfg(feature = "std")]
-pub use crate::{random, thread_rng};
-#[doc(no_inline)] pub use crate::{CryptoRng, Rng, RngCore, SeedableRng};