wip: dst nodes leak but work
This commit is contained in:
1 parent
464b457b80
commit
62ed9208a4
2 files changed
+165
-76
No files matched your search
@@ -679,10 +679,9 @@ impl<'a> NodeFactory<'a> {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn annotate_lazy<'z, 'b, F>(f: F) -> Option<LazyNodes<'z, 'b>>
|
||||
where
|
||||
F: FnOnce(NodeFactory<'z>) -> VNode<'z> + 'b,
|
||||
{
|
||||
pub fn annotate_lazy<'z, 'b>(
|
||||
f: impl FnOnce(NodeFactory<'z>) -> VNode<'z> + 'b,
|
||||
) -> Option<LazyNodes<'z, 'b>> {
|
||||
Some(LazyNodes::new(f))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user