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.
1 parent b900de0 commit 88f8b88Copy full SHA for 88f8b88
src/libstd/error.rs
@@ -553,11 +553,7 @@ impl Error for char::ParseCharError {
553
}
554
555
#[unstable(feature = "try_reserve", reason = "new API", issue = "48043")]
556
-impl Error for alloc::collections::TryReserveError {
557
- fn description(&self) -> &str {
558
- "memory allocation failed"
559
- }
560
-}
+impl Error for alloc::collections::TryReserveError {}
561
562
// Copied from `any.rs`.
563
impl dyn Error + 'static {
0 commit comments