Skip to content

Commit 6b19eeb

Browse files
committed
Make VmState as non_exhaustive
1 parent b64da48 commit 6b19eeb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ pub(crate) type AsyncCallbackUpvalue = Upvalue<AsyncCallback>;
6767
pub(crate) type AsyncPollUpvalue = Upvalue<Option<BoxFuture<'static, Result<c_int>>>>;
6868

6969
/// Type to set next Lua VM action after executing interrupt or hook function.
70+
#[non_exhaustive]
7071
pub enum VmState {
7172
Continue,
7273
/// Yield the current thread.

0 commit comments

Comments
 (0)