diff options
| author | Duckonaut <duckonaut@#gmail.com> | 2026-11-04 12:35:04 +0100 |
|---|---|---|
| committer | Duckonaut <duckonaut@#gmail.com> | 2026-11-04 12:35:04 +0100 |
| commit | e97bba72ebe3850a819796c0718441b8d6562297 (patch) | |
| tree | d8162187c9884414bef69af714cb7247cf064e85 /src/error.rs | |
| parent | c81da897d170ae245b6b3dd3559d10f3e7c787c5 (diff) | |
update: update dependencies, move to mlua
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) } } |
