mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-17 06:08:26 +00:00
Fix deref for Write struct in dioxus-signals (#1549)
This commit is contained in:
parent
04f83e1e92
commit
b1d6069363
1 changed files with 2 additions and 2 deletions
|
@ -305,7 +305,7 @@ impl<'a, T: 'static, I: 'static> Write<'a, T, I> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a, T: 'static> Deref for Write<'a, T> {
|
||||
impl<'a, T: 'static, I: 'static> Deref for Write<'a, T, I> {
|
||||
type Target = T;
|
||||
|
||||
fn deref(&self) -> &Self::Target {
|
||||
|
@ -313,7 +313,7 @@ impl<'a, T: 'static> Deref for Write<'a, T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T> DerefMut for Write<'_, T> {
|
||||
impl<T, I> DerefMut for Write<'_, T, I> {
|
||||
fn deref_mut(&mut self) -> &mut Self::Target {
|
||||
&mut self.write
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue