Skip to content

Commit

Permalink
Add missing mut
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed Aug 2, 2018
1 parent e5ea6c1 commit 90c7ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub(crate) fn dispatch<H: EventHandler + Send + Sync + 'static>(
shard_id: u64,
) {
match event {
DispatchEvent::Model(Event::MessageCreate(event)) => {
DispatchEvent::Model(Event::MessageCreate(mut event)) => {
update!(event);

let context = context(data, runner_tx, shard_id);
Expand Down

0 comments on commit 90c7ec4

Please sign in to comment.