mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
cargo fmt
This commit is contained in:
parent
2256c04288
commit
5dc34e6e27
@ -352,7 +352,7 @@ impl<COMP: Component> VDiff for VTag<COMP> {
|
|||||||
.expect("tried to remove not rendered VTag from DOM");
|
.expect("tried to remove not rendered VTag from DOM");
|
||||||
|
|
||||||
// recursively remove its children
|
// recursively remove its children
|
||||||
self.childs.drain(..).for_each(|mut v|{
|
self.childs.drain(..).for_each(|mut v| {
|
||||||
v.detach(&node);
|
v.detach(&node);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user