Skip to content

Commit

Permalink
Merge pull request #1440 from ealmloff/fix-use-future-docs
Browse files Browse the repository at this point in the history
Fix use_future docs
  • Loading branch information
jkelleyrtp authored Sep 16, 2023
2 parents a8dfe1a + da627cd commit f2b05bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hooks/src/usefuture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::{use_state, UseState};
///
/// Whenever the hooks dependencies change, the future will be re-evaluated.
/// If a future is pending when the dependencies change, the previous future
/// will be allowed to continue
/// will be canceled before the new one is started.
///
/// - dependencies: a tuple of references to values that are PartialEq + Clone
pub fn use_future<T, F, D>(
Expand Down

0 comments on commit f2b05bc

Please sign in to comment.