mirror of
https://github.com/Zenithsiz/dynatos.git
synced 2026-02-04 02:18:40 +00:00
Fixed with_dyn_child being more restrictive than dyn_child.
This commit is contained in:
parent
033355dad4
commit
e4f0efbbf5
@ -146,7 +146,7 @@ where
|
||||
fn with_dyn_child<F, N>(self, f: F) -> Self
|
||||
where
|
||||
F: Fn() -> Option<N> + 'static,
|
||||
N: AsRef<web_sys::Node> + 'static,
|
||||
N: AsRef<web_sys::Node>,
|
||||
{
|
||||
self.dyn_child(f);
|
||||
self
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user