Fix builds.
This commit is contained in:
parent
8f128f37f0
commit
5bae4d8a19
@ -662,7 +662,7 @@ impl Engine {
|
||||
/// let mut module = Module::new();
|
||||
/// module.set_native_fn("calc", |x: i64| Ok(x + 1));
|
||||
///
|
||||
/// let module: SharedModule = module.into();
|
||||
/// let module: Shared<Module> = module.into();
|
||||
///
|
||||
/// engine
|
||||
/// // Register the module as a fixed sub-module
|
||||
|
@ -267,7 +267,7 @@ impl AST {
|
||||
#[cfg(not(feature = "no_function"))]
|
||||
#[inline(always)]
|
||||
#[must_use]
|
||||
pub(crate) const fn shared_lib(&self) -> &SharedModule {
|
||||
pub(crate) const fn shared_lib(&self) -> &crate::SharedModule {
|
||||
&self.lib
|
||||
}
|
||||
/// _(internals)_ Get the internal shared [`Module`][crate::Module] containing all script-defined functions.
|
||||
|
Loading…
Reference in New Issue
Block a user