1
0
Fork 0
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:
andy finch 2019-07-18 17:48:44 -04:00 committed by Bert Belder
parent a37bc0088f
commit 056c146175

View file

@ -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
} }