Make Thread::state pub (hidden)

This commit is contained in:
Alex Orlenko
2025-07-05 22:36:47 +01:00
parent 80471c6dad
commit c0d839d8d2
+3 -1
View File
@@ -91,8 +91,10 @@ pub struct AsyncThread<R> {
}
impl Thread {
/// Returns reference to the Lua state that this thread is associated with.
#[doc(hidden)]
#[inline(always)]
fn state(&self) -> *mut ffi::lua_State {
pub fn state(&self) -> *mut ffi::lua_State {
self.1
}