From 33806ad44ce7a80ae49dd2da57f60ad9680d4293 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Wed, 9 Oct 2019 23:44:26 +0200 Subject: [PATCH] fix warning Signed-off-by: Yoshua Wuyts --- src/task/block_on.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task/block_on.rs b/src/task/block_on.rs index e1b6d024..db46f025 100644 --- a/src/task/block_on.rs +++ b/src/task/block_on.rs @@ -19,7 +19,7 @@ use kv_log_macro::trace; /// Calling this function is similar to [spawning] a thread and immediately [joining] it, except an /// asynchronous task will be spawned. /// -/// See also: [`task::blocking`]. +/// See also: [`task::spawn_blocking`]. /// /// [`task::spawn_blocking`]: fn.spawn_blocking.html ///