summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2022-07-05 18:48:43 +0300
committerYuval Adam <_@yuv.al>2022-07-05 18:48:43 +0300
commitebaf4c15fe2f1bc92314f3c01a6eda666f830c8b (patch)
tree83d52a85e1762f76eed77f6ed2180d9ec48dbea0
parent418a7b5a9ccc19d3c275396cfda3482f699b8194 (diff)
Add busy wait clarification
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index f24cf8f..52dc625 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -19,7 +19,7 @@ impl Future for Delay {
if Instant::now() >= self.when {
Poll::Ready("done")
} else {
- // Ignore this line for now.
+ // Ignore this line for now. (this possibly busy waits?)
cx.waker().wake_by_ref();
Poll::Pending
}