Fix no_module build.

This commit is contained in:
Stephen Chung
2022-10-14 15:23:58 +08:00
parent 38e47c909d
commit 71e475be13
3 changed files with 11 additions and 12 deletions

View File

@@ -199,7 +199,7 @@ impl CallableFunction {
Self::Script(..) => None,
}
}
/// Create a new [`CallableFunction::Method`] from a [built-in function][`FnBuiltin`].
/// Create a new [`CallableFunction::Method`] from a built-in function.
#[inline(always)]
#[must_use]
pub fn from_fn_builtin(func: FnBuiltin) -> Self {