Fix metadata build.
This commit is contained in:
parent
48d40b2ea7
commit
50ad42bd7f
@ -2053,7 +2053,9 @@ impl Engine {
|
|||||||
#[inline]
|
#[inline]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn gen_fn_signatures(&self, include_packages: bool) -> Vec<String> {
|
pub fn gen_fn_signatures(&self, include_packages: bool) -> Vec<String> {
|
||||||
let mut signatures = self.global_namespace().gen_fn_signatures();
|
let mut signatures = Vec::with_capacity(64);
|
||||||
|
|
||||||
|
signatures.extend(self.global_namespace().gen_fn_signatures());
|
||||||
|
|
||||||
self.global_sub_modules.iter().for_each(|(name, m)| {
|
self.global_sub_modules.iter().for_each(|(name, m)| {
|
||||||
signatures.extend(m.gen_fn_signatures().map(|f| format!("{}::{}", name, f)))
|
signatures.extend(m.gen_fn_signatures().map(|f| format!("{}::{}", name, f)))
|
||||||
|
Loading…
Reference in New Issue
Block a user