No need for rhai_mod if not renaming.

This commit is contained in:
Stephen Chung 2020-08-22 10:44:51 +08:00
parent 08977e2a62
commit 5b3467631f

View File

@ -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)]