mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
Display final to type in FromLuaConversionError
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
This commit is contained in:
parent
15e45ff8fe
commit
482382feab
2 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ impl<'lua> FromLua<'lua> for Color3 {
|
|||
} else {
|
||||
Err(LuaError::FromLuaConversionError {
|
||||
from: value.type_name(),
|
||||
to: "userdata",
|
||||
to: "EnumItem",
|
||||
message: None,
|
||||
})
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ impl<'lua> FromLua<'lua> for EnumItem {
|
|||
} else {
|
||||
Err(LuaError::FromLuaConversionError {
|
||||
from: value.type_name(),
|
||||
to: "userdata",
|
||||
to: "EnumItem",
|
||||
message: None,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue