From 51c7e0c58d8aeaf342cb416c4376b69bd144c818 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Wed, 16 Mar 2016 15:23:29 +0100 Subject: Fix syntax for stable --- base/src/event.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base') diff --git a/base/src/event.rs b/base/src/event.rs index 3176a9a..5d57023 100644 --- a/base/src/event.rs +++ b/base/src/event.rs @@ -210,8 +210,8 @@ impl<'a> Type<'a> { &TopicChange { .. } => "topic_change", &Kick { .. } => "kick", &Mode { .. } => "mode", - &Connect { .. } => "connect", - &Disconnect { .. } => "disconnect", + &Connect => "connect", + &Disconnect => "disconnect", } } -- cgit v1.2.3