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)