From 703b7fa892e6cf48a178a401ca37695b9aeff820 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 4 Sep 2014 19:05:30 -0400 Subject: callbacks wip (non-working) wouldn't that mean i couldn't use closures then? yupp ): they just can't do what you want really well yet need to wait for the "closures that are quantified over lifetimes" thing mentioned here https://github.com/rust-lang/rfcs/blob/master/active/0044-closures.md to be implemented --- src/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/constants.rs') diff --git a/src/constants.rs b/src/constants.rs index b3cb9ce..836846a 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -3,7 +3,7 @@ use std::fmt::{FormatError, Formatter, Show}; use std::from_str::FromStr; -#[deriving(PartialEq, Eq, Hash)] +#[deriving(PartialEq, Eq, Hash, Clone)] pub enum MessageType { Pass, Nick, -- cgit v1.2.3-54-g00ecf