Skip to content

Commit e339545

Browse files
committed
fix formatting
1 parent b31ce74 commit e339545

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

bevy_script_api/src/lua/std.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -460,13 +460,11 @@ impl<
460460
.map(|v| v.and_then(|(_, v)| T::from_lua_proxy(v, lua)))
461461
.collect::<Result<Vec<_>, _>>()
462462
}
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-
}
463+
_ => Err(mlua::Error::FromLuaConversionError {
464+
from: new_val.type_name(),
465+
to: "userdata or table",
466+
message: Some("LuaVec can only be assigned with itself or a table".to_owned()),
467+
}),
470468
}
471469
}
472470
}

0 commit comments

Comments
 (0)