Fix feature build.
This commit is contained in:
parent
ec45224120
commit
32825d2ca8
@ -1813,7 +1813,7 @@ impl Module {
|
||||
) -> impl Iterator<Item = (FnNamespace, FnAccess, &str, usize)> {
|
||||
self.iter_fn()
|
||||
.filter(|&f| f.func.is_script())
|
||||
.map(|f| (f.namespace, f.access, f.name.as_str(), f.params))
|
||||
.map(|f| (f.namespace, f.access, f.name.as_str(), f.num_params))
|
||||
}
|
||||
|
||||
/// _(internals)_ Get an iterator over all script-defined functions in the [`Module`].
|
||||
|
Loading…
Reference in New Issue
Block a user