diff --git a/src/is_err.rs b/src/is_err.rs index 95102b3..2d6e5e1 100644 --- a/src/is_err.rs +++ b/src/is_err.rs @@ -1,7 +1,6 @@ -use crate::utils::use_derive_signal; use leptos::*; -use_derive_signal!( +crate::use_derive_signal!( /// Reactive `Result::is_err()`. /// /// ## Usage diff --git a/src/is_none.rs b/src/is_none.rs index d70ff97..e6bf349 100644 --- a/src/is_none.rs +++ b/src/is_none.rs @@ -1,7 +1,6 @@ -use crate::utils::use_derive_signal; use leptos::*; -use_derive_signal!( +crate::use_derive_signal!( /// Reactive `Option::is_none()`. /// /// ## Usage diff --git a/src/is_ok.rs b/src/is_ok.rs index 38cefcb..c568e82 100644 --- a/src/is_ok.rs +++ b/src/is_ok.rs @@ -1,7 +1,6 @@ -use crate::utils::use_derive_signal; use leptos::*; -use_derive_signal!( +crate::use_derive_signal!( /// Reactive `Result::is_ok()`. /// /// ## Usage diff --git a/src/is_some.rs b/src/is_some.rs index c75ec07..a9ea32e 100644 --- a/src/is_some.rs +++ b/src/is_some.rs @@ -1,7 +1,6 @@ -use crate::utils::use_derive_signal; use leptos::*; -use_derive_signal!( +crate::use_derive_signal!( /// Reactive `Option::is_some()`. /// /// ## Usage diff --git a/src/use_to_string.rs b/src/use_to_string.rs index 6cceb16..445c83d 100644 --- a/src/use_to_string.rs +++ b/src/use_to_string.rs @@ -1,7 +1,6 @@ -use crate::utils::use_derive_signal; use leptos::*; -use_derive_signal!( +crate::use_derive_signal!( /// Reactive `ToString::to_string()`. /// /// ## Usage diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 25f19eb..d5a1fca 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -13,4 +13,3 @@ pub use is::*; pub(crate) use js_value_from_to_string::*; pub use pausable::*; pub(crate) use signal_filtered::*; -pub(crate) use use_derive_signal::*; diff --git a/src/utils/use_derive_signal.rs b/src/utils/use_derive_signal.rs index 1bb1212..1fafc75 100644 --- a/src/utils/use_derive_signal.rs +++ b/src/utils/use_derive_signal.rs @@ -1,3 +1,4 @@ +#[macro_export] macro_rules! use_derive_signal { ( $(#[$outer:meta])* @@ -14,5 +15,3 @@ macro_rules! use_derive_signal { } }; } - -pub(crate) use use_derive_signal;