You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-base64/0001-Fix-compat-issue-with-...

23 lines
589 B

From afac000c8b89059e3ea1d22477a22ec31d6f6856 Mon Sep 17 00:00:00 2001
From: Marshall Pierce <marshall@mpierce.org>
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
}
}