From 07839505beddc340f3895efd01d781423b5b88f7 Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Fri, 9 Sep 2016 05:06:27 +0100 Subject: [PATCH] Registering unpark is the responsibility of the callee --- src/task/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task/mod.rs b/src/task/mod.rs index 1529ec027f4..9dd7ba1857a 100644 --- a/src/task/mod.rs +++ b/src/task/mod.rs @@ -209,7 +209,7 @@ impl Spawn { /// `task::park()` will return a handle that contains the `unpark` /// specified. /// - /// If this function returns `NotReady`, then the `unpark` should be + /// If this function returns `NotReady`, then the `unpark` should have been /// scheduled to receive a notification when poll can be called again. /// Otherwise if `Ready` or `Err` is returned, the `Spawn` task can be /// safely destroyed.