From 274004e926cdac9412007b811ee03b0c586ddff3 Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Mon, 3 Feb 2014 21:26:28 +0100 Subject: [PATCH] Make compilation work with yersterday's rust version --- src/smtp/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/smtp/commands.rs b/src/smtp/commands.rs index 08bb96f..dffdc26 100644 --- a/src/smtp/commands.rs +++ b/src/smtp/commands.rs @@ -139,7 +139,7 @@ impl FromStr for Command { } } -impl fmt::Show for Command { +impl fmt::Default for Command { /// Format SMTP command display fn fmt(s: &Command, f: &mut fmt::Formatter) { f.buf.write(match *s { @@ -213,4 +213,4 @@ mod test { fn test_get_argument_command() { assert!(SmtpCommand::new(~"EHLO", Some(~"example.example")).get_formatted_command() == format!("EHLO example.example{}", ::common::CRLF)); } -} \ No newline at end of file +}