diff options
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/error.rs b/src/error.rs index fabe012..6eb148e 100644 --- a/src/error.rs +++ b/src/error.rs @@ -32,7 +32,7 @@ impl Display for LuaXError { #[derive(Debug)] pub enum ReluaxError { LuaX(LuaXError), - Lua(rlua::Error), + Lua(mlua::Error), Server(String), } @@ -54,8 +54,8 @@ impl From<LuaXError> for ReluaxError { } } -impl From<rlua::Error> for ReluaxError { - fn from(err: rlua::Error) -> Self { +impl From<mlua::Error> for ReluaxError { + fn from(err: mlua::Error) -> Self { ReluaxError::Lua(err) } } |
