summaryrefslogtreecommitdiff
path: root/core/any_error.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-09-11 23:34:22 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-09-11 17:34:22 -0400
commit945dc7b84bc1a05f80b3b4e0b152be38d9f8a9bf (patch)
tree7c0fe4d779e5ee5f3e5de63a72b4369268165667 /core/any_error.rs
parent82dc1b8e59891a7ca0f1a5e67a3db952b918561c (diff)
fix: panic during fetch (#2925)
Diffstat (limited to 'core/any_error.rs')
-rw-r--r--core/any_error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/any_error.rs b/core/any_error.rs
index 9199af59e..60c508e7d 100644
--- a/core/any_error.rs
+++ b/core/any_error.rs
@@ -5,7 +5,7 @@ use std::fmt;
use std::ops::Deref;
// The Send and Sync traits are required because deno is multithreaded and we
-// need to beable to handle errors across threads.
+// need to be able to handle errors across threads.
pub trait AnyError: Any + Error + Send + Sync + 'static {}
impl<T> AnyError for T where T: Any + Error + Send + Sync + Sized + 'static {}