From 184c27f5b4a6c1aa0b54fa5f2ed7accd6977ed58 Mon Sep 17 00:00:00 2001 From: Ben S Date: Wed, 4 Feb 2015 01:40:12 +0000 Subject: [PATCH] unwrap_err() now uses Debug --- src/options.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/options.rs b/src/options.rs index b3d5f4c..282e308 100644 --- a/src/options.rs +++ b/src/options.rs @@ -330,8 +330,6 @@ mod test { use super::Misfire; use super::Misfire::*; - use std::fmt; - fn is_helpful(misfire: Result) -> bool { match misfire { Err(Help(_)) => true, @@ -339,12 +337,6 @@ mod test { } } - impl fmt::Display for Options { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "{:?}", self) - } - } - #[test] fn help() { let opts = Options::getopts(&[ "--help".to_string() ]);