Feat: clean up code
This commit is contained in:
1 parent
5204862bc2
commit
83451372aa
16 files changed
+67
-72
No files matched your search
@@ -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()
|
||||
}
|
||||
Reference in new issue
Block a user