From 90b954c6544e1c8eaffb8143ed9e6034a3cd8baa Mon Sep 17 00:00:00 2001 From: Maccesch Date: Mon, 12 Feb 2024 19:36:37 +0000 Subject: [PATCH] fixed typo in docs --- src/use_debounce_fn.rs | 2 +- src/use_throttle_fn.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/use_debounce_fn.rs b/src/use_debounce_fn.rs index fb99da2..4bd8ec6 100644 --- a/src/use_debounce_fn.rs +++ b/src/use_debounce_fn.rs @@ -63,7 +63,7 @@ use std::rc::Rc; /// Currently there is no way to use a function with a return value. Please open an issue if you need this. /// /// If you want to throttle a function that takes an argument there are also the versions -/// [`use_debounce_fn_with_args`] and [`use_debounce_fn_with_args_and_options`]. +/// [`use_debounce_fn_with_arg`] and [`use_debounce_fn_with_arg_and_options`]. /// /// ## Recommended Reading /// diff --git a/src/use_throttle_fn.rs b/src/use_throttle_fn.rs index 2f9e61c..0e1fea8 100644 --- a/src/use_throttle_fn.rs +++ b/src/use_throttle_fn.rs @@ -59,7 +59,7 @@ pub use crate::utils::ThrottleOptions; /// ``` /// /// If you want to throttle a function that takes an argument there are also the versions -/// [`use_throttle_fn_with_args`] and [`use_throttle_fn_with_args_and_options`]. +/// [`use_throttle_fn_with_arg`] and [`use_throttle_fn_with_arg_and_options`]. /// /// ## Recommended Reading ///