aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/context.rs2
-rw-r--r--src/client/dispatch.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/context.rs b/src/client/context.rs
index f0ead27..eb7246b 100644
--- a/src/client/context.rs
+++ b/src/client/context.rs
@@ -1508,7 +1508,7 @@ impl Context {
/// - A footer containing the current user's icon and name, saying that the
/// information was generated by them.
///
- /// ```rust,no_run
+ /// ```rust,ignore
/// use serenity::client::{CACHE, Client, Context};
/// use serenity::model::{Channel, Message};
/// use serenity::utils::Colour;
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<Mutex<Shard>>,
- login_type: LoginType,
data: Arc<Mutex<ShareMap>>,
+ login_type: LoginType,
event_store: Arc<RwLock<EventStore>>) {
match event {
Event::MessageCreate(event) => {