Feat: update solved problems with context API

This commit is contained in:
Jonathan Kelley committed 2021-02-10 12:48:02 -05:00
1 parent 24e8bcb028
commit c97a9647e3
7 files changed
+209 -9

No files matched your search

+5 -1
View File
@@ -174,7 +174,11 @@ mod velement {
}
/// An event listener.
pub struct Listener<'a> {
pub struct Listener<'a>
// pub struct Listener<'a, 'b>
// where
// 'b: 'a + 'static,
{
/// The type of event to listen for.
pub(crate) event: &'a str,
/// The callback to invoke when the event happens.