From d8f32c7eff02fb62250e06c1bb1eda95b86a52a7 Mon Sep 17 00:00:00 2001 From: Andy Finch Date: Fri, 3 Apr 2020 10:35:28 -0400 Subject: [PATCH] remove `Send` trait requirement from the `Resource` trait (#4585) --- core/resources.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/resources.rs b/core/resources.rs index 53b1c84bf3..c9144f3b23 100644 --- a/core/resources.rs +++ b/core/resources.rs @@ -80,8 +80,8 @@ impl ResourceTable { /// The only thing it does is implementing `Downcast` trait /// that allows to cast resource to concrete type in `TableResource::get` /// and `TableResource::get_mut` methods. -pub trait Resource: Downcast + Any + Send {} -impl Resource for T where T: Downcast + Any + Send {} +pub trait Resource: Downcast + Any {} +impl Resource for T where T: Downcast + Any {} impl_downcast!(Resource); #[cfg(test)]