mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
clippy: signal_wrappers_read, was using .clone() when copy is available. (#665)
This commit is contained in:
parent
2e671887d9
commit
604ba3ff90
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ impl<T: Clone> Clone for MaybeSignal<T> {
|
|||
fn clone(&self) -> Self {
|
||||
match self {
|
||||
Self::Static(item) => Self::Static(item.clone()),
|
||||
Self::Dynamic(signal) => Self::Dynamic(signal.clone()),
|
||||
Self::Dynamic(signal) => Self::Dynamic(*signal),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue