examples: webview and async

This commit is contained in:
Jonathan Kelley committed 2021-07-08 23:25:27 -04:00
1 parent 99d94b69ab
commit eb82051000
13 files changed
+355 -57

No files matched your search

+2 -2
View File
@@ -149,9 +149,9 @@ pub mod on {
$(
$(#[$method_attr])*
pub fn $name<'a>(
pub fn $name<'a, F: FnMut($wrapper) + 'a>(
c: NodeFactory<'a>,
mut callback: impl FnMut($wrapper) + 'a,
mut callback: F,
) -> Listener<'a> {
let bump = &c.bump();
Listener {