diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-04 19:05:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-04 19:05:30 -0400 |
commit | 703b7fa892e6cf48a178a401ca37695b9aeff820 (patch) | |
tree | 55e9d5928cb1db6c38bea1d5096e399f254a85c6 /src/constants.rs | |
parent | 45b85da13a9df80f0f52799b3bc682b5a46f2bc0 (diff) | |
download | rust-irc-closures.tar.gz rust-irc-closures.zip |
callbacks wip (non-working)closures
<doy> wouldn't that mean i couldn't use closures then?
<eddyb> yupp
<doy> ):
<eddyb> 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
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, |