diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b6e69f2..4cda46a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ Rhai Release Notes Version 1.1.1 ============= +Bug fixes +--------- + +* The `no_module` and `internals` features now work together without a compilation error. + Version 1.1.0 ============= diff --git a/src/ast.rs b/src/ast.rs index 3e1cd195..34d492a5 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -717,8 +717,7 @@ impl AST { /// /// Not available under `no_function`. #[cfg(not(feature = "no_function"))] - #[cfg(not(feature = "no_module"))] - #[inline(always)] + #[inline] pub(crate) fn iter_fn_def(&self) -> impl Iterator { self.functions .iter_script_fn()