File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ pub enum MetaMethod {
54
54
/// The unary minus (`-`) operator.
55
55
Unm ,
56
56
/// The floor division (//) operator.
57
- /// Requires `feature = "lua54/lua53"`
58
- #[ cfg( any( feature = "lua54" , feature = "lua53" ) ) ]
57
+ /// Requires `feature = "lua54/lua53/luau "`
58
+ #[ cfg( any( feature = "lua54" , feature = "lua53" , feature = "luau" ) ) ]
59
59
IDiv ,
60
60
/// The bitwise AND (&) operator.
61
61
/// Requires `feature = "lua54/lua53"`
@@ -180,7 +180,7 @@ impl MetaMethod {
180
180
MetaMethod :: Pow => "__pow" ,
181
181
MetaMethod :: Unm => "__unm" ,
182
182
183
- #[ cfg( any( feature = "lua54" , feature = "lua53" ) ) ]
183
+ #[ cfg( any( feature = "lua54" , feature = "lua53" , feature = "luau" ) ) ]
184
184
MetaMethod :: IDiv => "__idiv" ,
185
185
#[ cfg( any( feature = "lua54" , feature = "lua53" ) ) ]
186
186
MetaMethod :: BAnd => "__band" ,
Original file line number Diff line number Diff line change @@ -928,7 +928,7 @@ pub unsafe fn init_error_registry(state: *mut ffi::lua_State) -> Result<()> {
928
928
"__mod" ,
929
929
"__pow" ,
930
930
"__unm" ,
931
- #[ cfg( any( feature = "lua54" , feature = "lua53" ) ) ]
931
+ #[ cfg( any( feature = "lua54" , feature = "lua53" , feature = "luau" ) ) ]
932
932
"__idiv" ,
933
933
#[ cfg( any( feature = "lua54" , feature = "lua53" ) ) ]
934
934
"__band" ,
You can’t perform that action at this time.
0 commit comments