Rename calc_fn_spec to calc_fn_hash.
This commit is contained in:
parent
d1ab9a2848
commit
a75aba8a85
@ -93,7 +93,7 @@ pub use result::EvalAltResult;
|
|||||||
pub use scope::Scope;
|
pub use scope::Scope;
|
||||||
pub use syntax::{EvalContext, Expression};
|
pub use syntax::{EvalContext, Expression};
|
||||||
pub use token::Position;
|
pub use token::Position;
|
||||||
pub use utils::calc_fn_spec as calc_fn_hash;
|
pub use utils::calc_fn_hash;
|
||||||
|
|
||||||
pub use rhai_codegen::*;
|
pub use rhai_codegen::*;
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ impl BuildHasher for StraightHasherBuilder {
|
|||||||
/// # Note
|
/// # Note
|
||||||
///
|
///
|
||||||
/// The first module name is skipped. Hashing starts from the _second_ module in the chain.
|
/// The first module name is skipped. Hashing starts from the _second_ module in the chain.
|
||||||
pub fn calc_fn_spec<'a>(
|
pub fn calc_fn_hash<'a>(
|
||||||
modules: impl Iterator<Item = &'a str>,
|
modules: impl Iterator<Item = &'a str>,
|
||||||
fn_name: &str,
|
fn_name: &str,
|
||||||
num: usize,
|
num: usize,
|
||||||
|
Loading…
Reference in New Issue
Block a user