Skip to content

Commit

Permalink
Fix compile erros on rust
Browse files Browse the repository at this point in the history
  • Loading branch information
jabedude committed Sep 20, 2020
1 parent dc59369 commit 728e9f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(ptr_wrapping_offset_from)]
#![feature(test)]

extern crate test;
Expand Down Expand Up @@ -38,7 +37,7 @@ impl error::Error for Error {
}
}

fn cause(&self) -> Option<&error::Error> {
fn cause(&self) -> Option<&dyn error::Error> {
None
}
}
Expand Down

0 comments on commit 728e9f3

Please sign in to comment.