summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-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 {