Feat: clean up code

This commit is contained in:
Jonathan Kelley committed 2021-02-24 01:32:50 -05:00
1 parent 5204862bc2
commit 83451372aa
16 files changed
+67 -72

No files matched your search

+2 -2
View File
@@ -335,7 +335,7 @@ where
/// .finish();
/// ```
#[inline]
pub fn on(mut self, event: &'a str, callback: impl Fn(()) + 'a) -> Self
pub fn on(self, _event: &'a str, _callback: impl Fn(()) + 'a) -> Self
// pub fn on<F>(mut self, event: &'a str, callback: impl Fn(()) -> () + 'static) -> Self
// F: Fn(()) + 'static,
// F: Fn(()) + 'a,
@@ -1081,7 +1081,7 @@ pub fn on<'a, 'b, F: 'static>(
}
}
pub fn virtual_child<'a, T>(bump: &'a Bump, props: T, f: crate::innerlude::FC<T>) -> VNode<'a> {
pub fn virtual_child<'a, T>(_bump: &'a Bump, _props: T, _f: crate::innerlude::FC<T>) -> VNode<'a> {
todo!()
// VNode::Component()
}