Fix: Display is in libcore
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user