mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 06:30:20 +00:00
fix clippy
This commit is contained in:
parent
87dae6a41f
commit
6e9aa4dba1
2 changed files with 3 additions and 6 deletions
|
@ -196,7 +196,6 @@ impl<T> Deref for CopyValue<T> {
|
|||
);
|
||||
|
||||
// Cast the closure to a trait object.
|
||||
let reference_to_trait_object = reference_to_closure as &Self::Target;
|
||||
reference_to_trait_object
|
||||
reference_to_closure as &Self::Target
|
||||
}
|
||||
}
|
||||
|
|
|
@ -298,8 +298,7 @@ impl<T> Deref for Signal<T> {
|
|||
);
|
||||
|
||||
// Cast the closure to a trait object.
|
||||
let reference_to_trait_object = reference_to_closure as &Self::Target;
|
||||
reference_to_trait_object
|
||||
reference_to_closure as &Self::Target
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -423,7 +422,6 @@ impl<T> Deref for ReadOnlySignal<T> {
|
|||
);
|
||||
|
||||
// Cast the closure to a trait object.
|
||||
let reference_to_trait_object = reference_to_closure as &Self::Target;
|
||||
reference_to_trait_object
|
||||
reference_to_closure as &Self::Target
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue