From cdba5ab6fc633606aaa6f95d0825832c3ac6fe5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 8 Feb 2020 20:34:31 +0100 Subject: refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) * rename ThreadSafeState to State * State stores InnerState wrapped in Rc and RefCell --- core/modules.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules.rs') diff --git a/core/modules.rs b/core/modules.rs index b2d057219..ee91c183a 100644 --- a/core/modules.rs +++ b/core/modules.rs @@ -23,7 +23,7 @@ use std::task::Poll; pub type SourceCodeInfoFuture = dyn Future>; -pub trait Loader: Send { +pub trait Loader { /// Returns an absolute URL. /// When implementing an spec-complaint VM, this should be exactly the /// algorithm described here: -- cgit v1.2.3