diff options
Diffstat (limited to 'src/client/dispatch.rs')
| -rw-r--r-- | src/client/dispatch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/dispatch.rs b/src/client/dispatch.rs index 494ab6d..490f4b6 100644 --- a/src/client/dispatch.rs +++ b/src/client/dispatch.rs @@ -45,7 +45,7 @@ fn context(conn: &Arc<Mutex<Shard>>, data: &Arc<Mutex<ShareMap>>, handle: &Handl #[cfg(feature = "framework")] pub fn dispatch<H: EventHandler + 'static>(event: Event, conn: &Arc<Mutex<Shard>>, - framework: &Arc<sync::Mutex<Option<Box<Framework>>>>, + framework: &Arc<sync::Mutex<Option<Box<Framework + Send>>>>, data: &Arc<Mutex<ShareMap>>, event_handler: &Arc<H>, tokio_handle: &Handle) { |