Skip to content

Commit 3f7efd5

Browse files
committed
Fix clippy warning
1 parent af9e0b6 commit 3f7efd5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/core/option_local_signal.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,16 @@ where
5959
}
6060
}
6161

62+
impl<T> Default for OptionLocalRwSignal<T>
63+
where
64+
T: 'static,
65+
{
66+
#[track_caller]
67+
fn default() -> Self {
68+
Self::new()
69+
}
70+
}
71+
6272
impl<T> Clone for OptionLocalRwSignal<T> {
6373
fn clone(&self) -> Self {
6474
*self

0 commit comments

Comments
 (0)