diff options
Diffstat (limited to 'src/multi.rs')
-rw-r--r-- | src/multi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multi.rs b/src/multi.rs index b7540d0..128122d 100644 --- a/src/multi.rs +++ b/src/multi.rs @@ -34,7 +34,7 @@ impl<'lua, T: ToLua<'lua>> ToLuaMulti<'lua> for T { impl<'lua, T: FromLua<'lua>> FromLuaMulti<'lua> for T { fn from_lua_multi(mut values: MultiValue<'lua>, lua: &'lua Lua) -> Result<Self> { - Ok(T::from_lua(values.pop_front().unwrap_or(Nil), lua)?) + T::from_lua(values.pop_front().unwrap_or(Nil), lua) } } |