Display final to type in FromLuaConversionError

Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
This commit is contained in:
Kenneth Loeffler 2023-08-24 16:28:53 -07:00 committed by GitHub
parent 15e45ff8fe
commit 482382feab
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@ impl<'lua> FromLua<'lua> for Color3 {
} else {
Err(LuaError::FromLuaConversionError {
from: value.type_name(),
to: "userdata",
to: "EnumItem",
message: None,
})
}

View file

@ -81,7 +81,7 @@ impl<'lua> FromLua<'lua> for EnumItem {
} else {
Err(LuaError::FromLuaConversionError {
from: value.type_name(),
to: "userdata",
to: "EnumItem",
message: None,
})
}