Fix: Display is in libcore

This commit is contained in:
bluss
2016-02-07 18:48:48 +01:00
parent dfa7431c88
commit 7504f0e1a4
-2
View File
@@ -787,8 +787,6 @@ impl<T: Any> Error for CapacityError<T> {
} }
} }
#[cfg(feature="std")]
/// Requires `features="std"`.
impl<T> fmt::Display for CapacityError<T> { impl<T> fmt::Display for CapacityError<T> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{}", CAPERROR) write!(f, "{}", CAPERROR)