fix: enable default for any eventhandler
This commit is contained in:
1 parent
d570bb6c42
commit
578c1dc069
1 file changed
+1
-1
@@ -355,7 +355,7 @@ pub struct EventHandler<'bump, T = ()> {
|
||||
pub callback: RefCell<Option<ExternalListenerCallback<'bump, T>>>,
|
||||
}
|
||||
|
||||
impl<'a> Default for EventHandler<'a> {
|
||||
impl<'a, T> Default for EventHandler<'a, T> {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
callback: RefCell::new(None),
|
||||
|
||||
Reference in new issue
Block a user