Make Thread::state non-const (private api)

This commit is contained in:
Alex Orlenko
2024-10-18 21:50:57 +01:00
parent 98339c57e6
commit 02d4ceff34
+1 -1
View File
@@ -69,7 +69,7 @@ pub struct AsyncThread<A, R> {
impl Thread {
#[inline(always)]
const fn state(&self) -> *mut ffi::lua_State {
fn state(&self) -> *mut ffi::lua_State {
self.1
}