We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c61da29 + 2755d4a commit 902114fCopy full SHA for 902114f
src/errors.rs
@@ -33,11 +33,7 @@ const CAPERROR: &'static str = "insufficient capacity";
33
34
#[cfg(feature="std")]
35
/// Requires `features="std"`.
36
-impl<T: Any> Error for CapacityError<T> {
37
- fn description(&self) -> &str {
38
- CAPERROR
39
- }
40
-}
+impl<T: Any> Error for CapacityError<T> {}
41
42
impl<T> fmt::Display for CapacityError<T> {
43
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
0 commit comments