fix hooks release build
This commit is contained in:
1 parent
689ac5433f
commit
79e18c2d62
3 files changed
+6
-10
No files matched your search
@@ -165,6 +165,7 @@ impl<T: 'static, S: Storage<SignalData<T>>> Signal<T, S> {
|
||||
/// use_hook(move || Signal::new_with_caller(function(), caller))
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(unused)]
|
||||
pub fn new_with_caller(value: T, caller: &'static std::panic::Location<'static>) -> Self {
|
||||
Self {
|
||||
inner: CopyValue::new_with_caller(
|
||||
|
||||
Reference in new issue
Block a user