pull main & udpate lint

This commit is contained in:
Mathieu Lala
2023-02-05 17:59:02 +01:00
parent 097fa1f4e3
commit 9bdf3c290d
12 changed files with 44 additions and 41 deletions

View File

@@ -212,12 +212,12 @@ impl Engine {
}
/// Evaluate an [`AST`] with own scope, returning the result value or an error.
#[inline]
pub(crate) fn eval_ast_with_scope_raw<'a>(
pub(crate) fn eval_ast_with_scope_raw(
&self,
global: &mut GlobalRuntimeState,
caches: &mut Caches,
scope: &mut Scope,
ast: &'a AST,
ast: &AST,
) -> RhaiResult {
let orig_source = mem::replace(&mut global.source, ast.source_raw().cloned());