summaryrefslogtreecommitdiff
path: root/src/hook.rs
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2023-04-14 00:36:31 +0100
committerAlex Orlenko <zxteam@protonmail.com>2023-04-14 00:36:31 +0100
commitaaf0a5e44aa035ca72628eb9491a24b7f34aad57 (patch)
tree88a3aae3134d3ddd53773400bdad7f64362d2722 /src/hook.rs
parent98888883bc2ebfb2e3e53ccefbe04d70f852edc3 (diff)
downloadmlua-aaf0a5e44aa035ca72628eb9491a24b7f34aad57.zip
Remove usage of crate::ffi (clippy)
Diffstat (limited to 'src/hook.rs')
-rw-r--r--src/hook.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hook.rs b/src/hook.rs
index de4e366..14871b7 100644
--- a/src/hook.rs
+++ b/src/hook.rs
@@ -3,7 +3,8 @@ use std::cell::UnsafeCell;
use std::ops::{BitOr, BitOrAssign};
use std::os::raw::c_int;
-use crate::ffi::{self, lua_Debug};
+use ffi::lua_Debug;
+
use crate::lua::Lua;
use crate::util::ptr_to_cstr_bytes;