diff options
author | Till Hoeppner | 2015-06-29 22:04:01 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-06-29 22:04:01 +0200 |
commit | 7fa79ea0692e958841032563d91ee98210ea18a0 (patch) | |
tree | 0707d67d4238e681f7a378297f48bc7135bdb8a6 /src/event.rs | |
parent | f0ee5be572168542774739cf713b7eeca2cbc598 (diff) | |
download | irsc-7fa79ea0692e958841032563d91ee98210ea18a0.tar.gz irsc-7fa79ea0692e958841032563d91ee98210ea18a0.tar.xz irsc-7fa79ea0692e958841032563d91ee98210ea18a0.zip |
Use official carboxyl again
Diffstat (limited to 'src/event.rs')
-rw-r--r-- | src/event.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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 } } } |