From 530de25aa5345223fa924e76eb69bb32e484a62a Mon Sep 17 00:00:00 2001 From: Austin Hellyer Date: Sat, 10 Dec 2016 10:16:35 -0800 Subject: Fix no-cache+method conditional compiles Additionally, flag imports behind feature flags to avoid unused imports. --- src/client/dispatch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/dispatch.rs') diff --git a/src/client/dispatch.rs b/src/client/dispatch.rs index 3207a0a..7b0439d 100644 --- a/src/client/dispatch.rs +++ b/src/client/dispatch.rs @@ -76,8 +76,8 @@ pub fn dispatch(event: Event, #[cfg(not(feature="framework"))] pub fn dispatch(event: Event, conn: Arc>, - login_type: LoginType, data: Arc>, + login_type: LoginType, event_store: Arc>) { match event { Event::MessageCreate(event) => { -- cgit v1.2.3