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 145f3ac commit 01d08e3Copy full SHA for 01d08e3
src/error/multiple_error_types/wrap_error.md
@@ -29,7 +29,7 @@ impl fmt::Display for DoubleError {
29
}
30
31
impl error::Error for DoubleError {
32
- fn cause(&self) -> Option<&error::Error> {
+ fn source(&self) -> Option<&(dyn error::Error + 'static)> {
33
match *self {
34
DoubleError::EmptyVec => None,
35
// The cause is the underlying implementation error type. Is implicitly
0 commit comments