From 7504f0e1a4ea9d9951955c932c0207ad8296e37a Mon Sep 17 00:00:00 2001 From: bluss Date: Sun, 7 Feb 2016 18:48:48 +0100 Subject: [PATCH] Fix: Display is in libcore --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5ab5d4d..d627f9a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -787,8 +787,6 @@ impl Error for CapacityError { } } -#[cfg(feature="std")] -/// Requires `features="std"`. impl fmt::Display for CapacityError { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", CAPERROR)