mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-25 10:41:34 +00:00
Use dyn
with all trait objects
Fixes new warnings showing up on nightly nowadays.
This commit is contained in:
@ -28,7 +28,7 @@ pub struct Error {
|
||||
}
|
||||
|
||||
impl Fail for Error {
|
||||
fn cause(&self) -> Option<&Fail> {
|
||||
fn cause(&self) -> Option<&dyn Fail> {
|
||||
self.inner.cause()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user