Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit dcce9c6

Browse files
committed
Remove dyn from source to fix 1.10
1 parent 0f85c34 commit dcce9c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error_chain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ macro_rules! impl_error_chain_processed {
200200

201201
#[cfg(has_error_source)]
202202
#[allow(unknown_lints, renamed_and_removed_lints, unused_doc_comment, unused_doc_comments)]
203-
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
203+
fn source(&self) -> Option<&(std::error::Error + 'static)> {
204204
match self.1.next_error {
205205
Some(ref c) => Some(&**c),
206206
None => {

0 commit comments

Comments
 (0)