diff --git a/src/runtimes/ruby.rs b/src/runtimes/ruby.rs index 437ac23..2f3f7f5 100644 --- a/src/runtimes/ruby.rs +++ b/src/runtimes/ruby.rs @@ -394,7 +394,7 @@ impl Runtime for RubyRuntime { self.execute_in_thread(Box::new(move |ruby: &Ruby| { Self::with_current_entity(ruby, entity, || { ruby.eval::(&script) - .map_err(|e| >::into(e)) + .map_err(>::into) })?; Ok::(RubyScriptData) }))