about summary refs log tree commit diff
path: root/library/core/src/random.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2024-09-22 16:33:58 +0200
committerjoboet <jonasboettiger@icloud.com>2024-09-23 10:36:16 +0200
commite94dd9b71268531efeecff00a7400935dd289383 (patch)
tree19acb8aa9be647843edc888c4492686318096b47 /library/core/src/random.rs
parenta21ff017f4f119381088c38e6966ed1022ef40f6 (diff)
downloadrust-e94dd9b71268531efeecff00a7400935dd289383.tar.gz
rust-e94dd9b71268531efeecff00a7400935dd289383.zip
random: add tracking issue, address other comments
Diffstat (limited to 'library/core/src/random.rs')
-rw-r--r--library/core/src/random.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/random.rs b/library/core/src/random.rs
index 9e0d0d0c58b..051fe260863 100644
--- a/library/core/src/random.rs
+++ b/library/core/src/random.rs
@@ -4,7 +4,7 @@
 //! given [`RandomSource`].
 
 /// A source of randomness.
-#[unstable(feature = "random", issue = "none")]
+#[unstable(feature = "random", issue = "130703")]
 pub trait RandomSource {
     /// Fills `bytes` with random bytes.
     fn fill_bytes(&mut self, bytes: &mut [u8]);
@@ -17,7 +17,7 @@ pub trait RandomSource {
 /// distribution, so a value of 1 is just as likely as [`i32::MAX`]. By using
 /// modulo operations, some of the resulting values can become more likely than
 /// others. Use audited crates when in doubt.
-#[unstable(feature = "random", issue = "none")]
+#[unstable(feature = "random", issue = "130703")]
 pub trait Random: Sized {
     /// Generates a random value.
     fn random(source: &mut (impl RandomSource + ?Sized)) -> Self;