Update comment

This commit is contained in:
wtfsck 2022-05-22 11:08:31 +02:00
parent c0df3d82ef
commit 3b498e3eda
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ pub struct Lua<'lua> {
#[repr(C)] #[repr(C)]
struct WrappedUserData<T: LuaUserData> { struct WrappedUserData<T: LuaUserData> {
// LuaUserData::UNIQUE_ID is stored in this field so we can check if it's our userdata. // LuaUserData::UNIQUE_ID is stored in this field so we can check if it's our userdata.
// This field must be the first field, see get_user_data() // This field must be the first field, see `get_user_data_body!()`
id: u32, id: u32,
ud: T, ud: T,
} }