From 372d55ce0b745580f4f1552b23dadcc2ea221d01 Mon Sep 17 00:00:00 2001 From: critiqjo Date: Tue, 10 Jan 2017 10:09:47 +0530 Subject: [PATCH] Docs: Remove outdated reference to `task::poll_on` --- src/reactor/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/reactor/mod.rs b/src/reactor/mod.rs index 2a2febeba..3787602fe 100644 --- a/src/reactor/mod.rs +++ b/src/reactor/mod.rs @@ -201,11 +201,6 @@ impl Core { /// This method will **not** catch panics from polling the future `f`. If /// the future panics then it's the responsibility of the caller to catch /// that panic and handle it as appropriate. - /// - /// Similarly, because the provided future will be pinned not only to this - /// thread but also to this task, any attempt to poll the future on a - /// separate thread will result in a panic. That is, calls to - /// `task::poll_on` must be avoided. pub fn run(&mut self, f: F) -> Result where F: Future, {