This commit is contained in:
parent
410d246cd2
commit
08e177dacd
1 changed files with 1 additions and 1 deletions
|
|
@ -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::<magnus::value::Value>(&script)
|
||||
.map_err(|e| <magnus::Error as Into<ScriptingError>>::into(e))
|
||||
.map_err(<magnus::Error as Into<ScriptingError>>::into)
|
||||
})?;
|
||||
Ok::<Self::ScriptData, ScriptingError>(RubyScriptData)
|
||||
}))
|
||||
|
|
|
|||
Loading…
Reference in a new issue