Fix internals.

This commit is contained in:
Stephen Chung 2020-11-19 14:08:58 +08:00
parent 5e4ede6f07
commit b87fa87a75

View File

@ -151,7 +151,6 @@ impl AST {
&mut self.0
}
/// Get the internal shared `Module` containing all script-defined functions.
#[cfg(not(feature = "internals"))]
#[inline(always)]
pub(crate) fn shared_lib(&self) -> Shared<Module> {
self.1.clone()