Skip to content

Commit 02d4cef

Browse files
committed
Make Thread::state non-const (private api)
1 parent 98339c5 commit 02d4cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub struct AsyncThread<A, R> {
6969

7070
impl Thread {
7171
#[inline(always)]
72-
const fn state(&self) -> *mut ffi::lua_State {
72+
fn state(&self) -> *mut ffi::lua_State {
7373
self.1
7474
}
7575

0 commit comments

Comments
 (0)