summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2022-07-05 12:56:46 +0300
committerYuval Adam <_@yuv.al>2022-07-05 12:56:46 +0300
commit92495fc1960963786c8dba7fa7bc021714a39670 (patch)
treef8c5c1a7985959d006965ee009273a29389c80c2 /src
parent2a60575d92176a8778186077c5c704a1c6381519 (diff)
Add some random print
Diffstat (limited to 'src')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 8d6c6cb..642901b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -18,6 +18,7 @@ impl SimpleFuture for RandomFuture {
fn poll(&mut self, _wake: fn()) -> Poll<Self::Output> {
let mut rng = rand::thread_rng();
let y: f64 = rng.gen();
+ println!("y value {}", y);
if y > 0.9 {
Poll::Ready(y)
} else {