Fix builds.

This commit is contained in:
Stephen Chung
2021-10-21 19:30:58 +08:00
parent 65ef402440
commit 83f83307ca
2 changed files with 8 additions and 3 deletions

View File

@@ -322,7 +322,7 @@ mod decimal_functions {
#[cfg(feature = "no_float")]
#[rhai_fn(return_raw)]
pub fn parse_float(s: &str) -> Result<Decimal, Box<EvalAltResult>> {
super::parse_decimal(s)
parse_decimal(s)
}
pub fn sin(x: Decimal) -> Decimal {