Fix no_module+internals build.
This commit is contained in:
parent
c768ef4ca9
commit
4e965c3f3f
@ -4,6 +4,11 @@ Rhai Release Notes
|
|||||||
Version 1.1.1
|
Version 1.1.1
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
Bug fixes
|
||||||
|
---------
|
||||||
|
|
||||||
|
* The `no_module` and `internals` features now work together without a compilation error.
|
||||||
|
|
||||||
|
|
||||||
Version 1.1.0
|
Version 1.1.0
|
||||||
=============
|
=============
|
||||||
|
@ -717,8 +717,7 @@ impl AST {
|
|||||||
///
|
///
|
||||||
/// Not available under `no_function`.
|
/// Not available under `no_function`.
|
||||||
#[cfg(not(feature = "no_function"))]
|
#[cfg(not(feature = "no_function"))]
|
||||||
#[cfg(not(feature = "no_module"))]
|
#[inline]
|
||||||
#[inline(always)]
|
|
||||||
pub(crate) fn iter_fn_def(&self) -> impl Iterator<Item = &ScriptFnDef> {
|
pub(crate) fn iter_fn_def(&self) -> impl Iterator<Item = &ScriptFnDef> {
|
||||||
self.functions
|
self.functions
|
||||||
.iter_script_fn()
|
.iter_script_fn()
|
||||||
|
Loading…
Reference in New Issue
Block a user