From 7fa79ea0692e958841032563d91ee98210ea18a0 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Mon, 29 Jun 2015 22:04:01 +0200 Subject: Use official carboxyl again --- src/event.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/event.rs') diff --git a/src/event.rs b/src/event.rs index 3863b49..f9a0422 100644 --- a/src/event.rs +++ b/src/event.rs @@ -16,7 +16,9 @@ impl<'a> Event<'a> { use Event::*; match self { &Command(ref c) => Command(c.to_static()), - _ => unimplemented!() + &Reply(ref r) => Reply(r.to_static()), + &Connected => Connected, + &Disconnected => Disconnected } } } -- cgit v1.2.3