From 577a0662897efb105ab794444fbeb62c783c3b16 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Sat, 27 Jun 2015 23:40:38 +0200 Subject: Add to_static functionality for Replies --- src/command.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/command.rs') diff --git a/src/command.rs b/src/command.rs index 6f849d9..9ed95d7 100644 --- a/src/command.rs +++ b/src/command.rs @@ -1876,18 +1876,6 @@ impl<'a> Command<'a> { Message::format(None, Borrowed("PING"), vec![s1.clone()], s2.clone(), MsgType::Irc), &PONG(ref s1, ref s2) => Message::format(None, Borrowed("PONG"), vec![s1.clone()], s2.clone(), MsgType::Irc), - /*&Command::PING(ref server1, ref server2) => { - let mut c = Vec::new(); - c.push(server1.clone()); - if let &Some(ref s) = server2 { c.push(s.clone()) } - Message::format(None, "PING", c, None, MsgType::Irc) - }, - &Command::PONG(ref server1, ref server2) => { - let mut c = Vec::new(); - c.push(server1.clone()); - if let &Some(ref s) = server2 { c.push(s.clone()) } - Message::format(None, "PONG", c, None, MsgType::Irc) - },*/ _ => unimplemented!() } } -- cgit v1.2.3