From 1404009edc4c6a6a2fbac4cd39bb5f6b6498d4b4 Mon Sep 17 00:00:00 2001 From: Andrey <146410045+agreyyy@users.noreply.github.com> Date: Wed, 28 Feb 2024 03:48:52 +0000 Subject: [PATCH] touchups --- packages/hooks/src/use_future.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hooks/src/use_future.rs b/packages/hooks/src/use_future.rs index b2276147b..53a67087c 100644 --- a/packages/hooks/src/use_future.rs +++ b/packages/hooks/src/use_future.rs @@ -13,7 +13,7 @@ use std::future::Future; /// The future is spawned on the next call to `flush_sync` which means that it will not run on the server. /// To run a future on the server, you should use `spawn` directly. /// `use_future` **won't return a value**. -/// If you want to return a value, use `use_resource` instead. +/// If you want to return a value from a future, use `use_resource` instead. /// ```rust /// fn app() -> Element { /// let mut count = use_signal(|| 0);