We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31ce74 commit e339545Copy full SHA for e339545
bevy_script_api/src/lua/std.rs
@@ -460,13 +460,11 @@ impl<
460
.map(|v| v.and_then(|(_, v)| T::from_lua_proxy(v, lua)))
461
.collect::<Result<Vec<_>, _>>()
462
}
463
- _ => {
464
- Err(mlua::Error::FromLuaConversionError {
465
- from: new_val.type_name(),
466
- to: "userdata or table",
467
- message: Some("LuaVec can only be assigned with itself or a table".to_owned()),
468
- })
469
- }
+ _ => Err(mlua::Error::FromLuaConversionError {
+ from: new_val.type_name(),
+ to: "userdata or table",
+ message: Some("LuaVec can only be assigned with itself or a table".to_owned()),
+ }),
470
471
472
0 commit comments