From 2443c695e9913a7cf5905920d1d2b95dfd022a31 Mon Sep 17 00:00:00 2001 From: Hector Candelaria Date: Thu, 22 Aug 2024 23:24:26 -0400 Subject: [PATCH] Chore: Apply cargo `fmt` to ensure code formatting - Reformatted the code for `watch_debounced` & `watch_throttled` to pass `cargo fmt --check` --- src/watch_debounced.rs | 2 +- src/watch_throttled.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/watch_debounced.rs b/src/watch_debounced.rs index c0b12a1..a8cb00a 100644 --- a/src/watch_debounced.rs +++ b/src/watch_debounced.rs @@ -1,4 +1,4 @@ -use crate::{watch_with_options, utils::DebounceOptions, WatchOptions}; +use crate::{utils::DebounceOptions, watch_with_options, WatchOptions}; use default_struct_builder::DefaultBuilder; use leptos::*; diff --git a/src/watch_throttled.rs b/src/watch_throttled.rs index e70f5e0..38db9ce 100644 --- a/src/watch_throttled.rs +++ b/src/watch_throttled.rs @@ -1,4 +1,4 @@ -use crate::{watch_with_options, utils::ThrottleOptions, WatchOptions}; +use crate::{utils::ThrottleOptions, watch_with_options, WatchOptions}; use default_struct_builder::DefaultBuilder; /// A throttled version of `leptos::watch`.