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 a5ed6aa commit 145f3acCopy full SHA for 145f3ac
src/error/multiple_error_types/wrap_error.md
@@ -29,14 +29,6 @@ impl fmt::Display for DoubleError {
29
}
30
31
impl error::Error for DoubleError {
32
- fn description(&self) -> &str {
33
- match *self {
34
- DoubleError::EmptyVec => "empty vectors not allowed",
35
- // This already impls `Error`, so defer to its own implementation.
36
- DoubleError::Parse(ref e) => e.description(),
37
- }
38
39
-
40
fn cause(&self) -> Option<&error::Error> {
41
match *self {
42
DoubleError::EmptyVec => None,
0 commit comments