mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
Make Thread::state non-const (private api)
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user