No need for rhai_mod if not renaming.
This commit is contained in:
parent
08977e2a62
commit
5b3467631f
@ -11,7 +11,6 @@ mod test {
|
|||||||
use rhai::{Array, INT};
|
use rhai::{Array, INT};
|
||||||
|
|
||||||
#[cfg(not(feature = "no_object"))]
|
#[cfg(not(feature = "no_object"))]
|
||||||
#[rhai_mod()]
|
|
||||||
pub mod feature {
|
pub mod feature {
|
||||||
#[rhai_fn(get = "foo", return_raw)]
|
#[rhai_fn(get = "foo", return_raw)]
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
|
Loading…
Reference in New Issue
Block a user