Merge branch 'main' of https://github.com/rhaiscript/rhai
This commit is contained in:
@@ -239,7 +239,7 @@ impl FuncInfo {
|
||||
/// The first module name is skipped. Hashing starts from the _second_ module in the chain.
|
||||
#[inline]
|
||||
pub fn calc_native_fn_hash<'a>(
|
||||
modules: impl IntoIterator<Item = &'a str>,
|
||||
modules: impl IntoIterator<Item = &'a str, IntoIter = impl ExactSizeIterator<Item = &'a str>>,
|
||||
fn_name: &str,
|
||||
params: &[TypeId],
|
||||
) -> u64 {
|
||||
@@ -1263,7 +1263,7 @@ impl Module {
|
||||
access,
|
||||
None,
|
||||
arg_types,
|
||||
CallableFunction::from_method(Box::new(f)),
|
||||
CallableFunction::Method(Shared::new(f)),
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user