From afac000c8b89059e3ea1d22477a22ec31d6f6856 Mon Sep 17 00:00:00 2001 From: Marshall Pierce Date: Fri, 12 Jul 2019 11:54:33 -0600 Subject: [PATCH] Fix compat issue with beta rust --- src/decode.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decode.rs b/src/decode.rs index ae34230..9c9916c 100644 --- a/src/decode.rs +++ b/src/decode.rs @@ -55,7 +55,7 @@ impl error::Error for DecodeError { } } - fn cause(&self) -> Option<&error::Error> { + fn cause(&self) -> Option<&dyn error::Error> { None } }