From 998f134242d62eea2126a8de22ca7c86ca063898 Mon Sep 17 00:00:00 2001 From: Maor Kleinberger Date: Mon, 24 Aug 2020 00:02:53 +0300 Subject: [PATCH] Removed outdated documentation `spawn_future()` doesn't exist anymore, so this commit removed a reference to it from the documentation. This closes https://github.com/rayon-rs/rayon/issues/234 --- rayon-core/src/spawn/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rayon-core/src/spawn/mod.rs b/rayon-core/src/spawn/mod.rs index d9eb2ed55..00061037a 100644 --- a/rayon-core/src/spawn/mod.rs +++ b/rayon-core/src/spawn/mod.rs @@ -21,8 +21,7 @@ use std::sync::Arc; /// /// This API assumes that the closure is executed purely for its /// side-effects (i.e., it might send messages, modify data protected -/// by a mutex, or some such thing). If you want to compute a result, -/// consider `spawn_future()`. +/// by a mutex, or some such thing). /// /// There is no guaranteed order of execution for spawns, given that /// other threads may steal tasks at any time. However, they are