mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
Fix expected dyn before AnyError trait (#2663)
This commit is contained in:
parent
a37bc0088f
commit
056c146175
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ impl AsRef<dyn AnyError> for ErrBox {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Deref for ErrBox {
|
impl Deref for ErrBox {
|
||||||
type Target = Box<AnyError>;
|
type Target = Box<dyn AnyError>;
|
||||||
fn deref(&self) -> &Self::Target {
|
fn deref(&self) -> &Self::Target {
|
||||||
&self.0
|
&self.0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue