Skip to content

Commit

Permalink
Impl ImplicitClone on VChild
Browse files Browse the repository at this point in the history
  • Loading branch information
cecton committed Oct 28, 2023
1 parent c04478c commit 9c131ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/yew/src/virtual_dom/vcomp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ pub struct VChild<COMP: BaseComponent> {
key: Option<Key>,
}

impl<COMP: BaseComponent> implicit_clone::ImplicitClone for VChild<COMP> {}

impl<COMP: BaseComponent> Clone for VChild<COMP> {
fn clone(&self) -> Self {
VChild {
Expand Down

0 comments on commit 9c131ab

Please sign in to comment.