From 567bec274b62a225f961c13f86159813af79b327 Mon Sep 17 00:00:00 2001 From: vms Date: Mon, 22 Jun 2020 16:10:20 +0300 Subject: [PATCH] bound ExecutableInstruction with Send --- src/interpreter/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter/mod.rs b/src/interpreter/mod.rs index 8aa21f2..bdefb84 100644 --- a/src/interpreter/mod.rs +++ b/src/interpreter/mod.rs @@ -42,7 +42,7 @@ where pub(crate) type ExecutableInstruction = Box< dyn Fn( &mut Runtime, - ) -> InstructionResult<()>, + ) -> InstructionResult<()> + Send, >; /// An interpreter is the central piece of this crate. It is a set of