Fix internals build.

This commit is contained in:
Stephen Chung 2021-03-12 19:33:22 +08:00
parent b74d2ff2b4
commit 81ca86a8d2

View File

@ -1727,7 +1727,15 @@ impl Module {
#[inline(always)]
pub fn iter_script_fn_info(
&self,
) -> impl Iterator<Item = (FnNamespace, FnAccess, &str, usize, &crate::ast::ScriptFnDef)> {
) -> impl Iterator<
Item = (
FnNamespace,
FnAccess,
&str,
usize,
&Shared<crate::ast::ScriptFnDef>,
),
> {
self.iter_script_fn()
}