aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event.rs b/src/event.rs
index 8a7e3b7..488ac04 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -4,9 +4,9 @@ use command;
use reply;
#[derive(Debug, Clone, PartialEq)]
-pub enum Event {
- Command(command::Command),
- Reply(reply::Reply),
+pub enum Event<'a> {
+ Command(command::Command<'a>),
+ Reply(reply::Reply<'a>),
Connected,
Disconnected
}