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 {
|
} else {
|
||||||
Err(LuaError::FromLuaConversionError {
|
Err(LuaError::FromLuaConversionError {
|
||||||
from: value.type_name(),
|
from: value.type_name(),
|
||||||
to: "userdata",
|
to: "EnumItem",
|
||||||
message: None,
|
message: None,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,7 @@ impl<'lua> FromLua<'lua> for EnumItem {
|
||||||
} else {
|
} else {
|
||||||
Err(LuaError::FromLuaConversionError {
|
Err(LuaError::FromLuaConversionError {
|
||||||
from: value.type_name(),
|
from: value.type_name(),
|
||||||
to: "userdata",
|
to: "EnumItem",
|
||||||
message: None,
|
message: None,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue